#include <GrThreadSafeCache.h>
Definition at line 106 of file GrThreadSafeCache.h.
◆ ~VertexData()
GrThreadSafeCache::VertexData::~VertexData |
( |
| ) |
|
◆ gpuBuffer()
GrGpuBuffer * GrThreadSafeCache::VertexData::gpuBuffer |
( |
| ) |
|
|
inline |
◆ numVertices()
int GrThreadSafeCache::VertexData::numVertices |
( |
| ) |
const |
|
inline |
◆ refGpuBuffer()
◆ reset()
void GrThreadSafeCache::VertexData::reset |
( |
| ) |
|
|
inline |
Definition at line 127 of file GrThreadSafeCache.h.
127 {
128 sk_free(
const_cast<void*
>(fVertices));
129 fVertices = nullptr;
130 fNumVertices = 0;
131 fVertexSize = 0;
133 }
SK_API void sk_free(void *)
void reset(T *ptr=nullptr)
◆ setGpuBuffer()
void GrThreadSafeCache::VertexData::setGpuBuffer |
( |
sk_sp< GrGpuBuffer > |
gpuBuffer | ) |
|
|
inline |
◆ size()
size_t GrThreadSafeCache::VertexData::size |
( |
| ) |
const |
|
inline |
◆ vertexSize()
size_t GrThreadSafeCache::VertexData::vertexSize |
( |
| ) |
const |
|
inline |
◆ vertices()
const void * GrThreadSafeCache::VertexData::vertices |
( |
| ) |
const |
|
inline |
◆ GrThreadSafeCache
The documentation for this class was generated from the following files: