# Cinder

# cinder::gl::TextureCache::Obj Struct Reference

`#include <Texture.h>`

List of all members.

## 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

## Constructor & Destructor Documentation

cinder::gl::TextureCache::Obj::Obj | ( | const Surface8u & | prototypeSurface,
|  | const Texture::Format & | format |
| ) |  |  |

## Member Function Documentation

void cinder::gl::TextureCache::Obj::markTextureAsFree | ( | int | id | ) |

void cinder::gl::TextureCache::Obj::TextureCacheDeallocator | ( | void * | aDeallocatorRefcon | ) | `[static]`

## Member Data Documentation

int cinder::gl::TextureCache::Obj::mWidth

int cinder::gl::TextureCache::Obj::mHeight

Texture::Format cinder::gl::TextureCache::Obj::mFormat

int cinder::gl::TextureCache::Obj::mNextId

std::vector<std::pair<int,gl::Texture> > cinder::gl::TextureCache::Obj::mTextures

The documentation for this struct was generated from the following files:

- include/cinder/gl/Texture.h
- src/cinder/gl/Texture.cpp