Cinder  0.8.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Public Member Functions | Protected Attributes | List of all members
cinder::gl::TextureCache Class Reference

#include <Texture.h>

Classes

struct  Obj
 

Public Member Functions

 TextureCache ()
 
 TextureCache (const Surface8u &prototypeSurface, const Texture::Format &format)
 
gl::Texture cache (const Surface8u &data)
 

Protected Attributes

std::shared_ptr< ObjmObj
 
typedef std::shared_ptr< Obj >
TextureCache::* 
unspecified_bool_type
 Emulates shared_ptr-like behavior. More...
 
 operator unspecified_bool_type () const
 Emulates shared_ptr-like behavior. More...
 
void reset ()
 Emulates shared_ptr-like behavior. More...
 

Member Typedef Documentation

typedef std::shared_ptr<Obj> TextureCache::* cinder::gl::TextureCache::unspecified_bool_type

Emulates shared_ptr-like behavior.

Constructor & Destructor Documentation

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

Member Function Documentation

gl::Texture cinder::gl::TextureCache::cache ( const Surface8u data)
cinder::gl::TextureCache::operator unspecified_bool_type ( ) const

Emulates shared_ptr-like behavior.

void cinder::gl::TextureCache::reset ( )

Emulates shared_ptr-like behavior.

Member Data Documentation

std::shared_ptr<Obj> cinder::gl::TextureCache::mObj
protected

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