#include <Texture.h>
Public Member Functions | |
Obj (const Surface8u &prototypeSurface, const Texture::Format &format) | |
void | markTextureAsFree (int id) |
Static Public Member Functions | |
static void | TextureCacheDeallocator (void *aDeallocatorRefcon) |
Public Attributes | |
int | mWidth |
int | mHeight |
Texture::Format | mFormat |
int | mNextId |
std::vector< std::pair< int, gl::Texture > > | mTextures |
cinder::gl::TextureCache::Obj::Obj | ( | const Surface8u & | prototypeSurface, | |
const Texture::Format & | format | |||
) |
void cinder::gl::TextureCache::Obj::markTextureAsFree | ( | int | id | ) |
void cinder::gl::TextureCache::Obj::TextureCacheDeallocator | ( | void * | aDeallocatorRefcon | ) | [static] |
std::vector<std::pair<int,gl::Texture> > cinder::gl::TextureCache::Obj::mTextures |