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::DisplayList Class Reference

#include <DisplayList.h>

Classes

struct  Obj
 

Public Member Functions

 DisplayList ()
 
 DisplayList (GLint aMode)
 
void newList ()
 
void endList ()
 
int getID () const
 
void draw () const
 
Matrix44fgetModelMatrix ()
 
const Matrix44fgetModelMatrix () const
 
void setMaterial (const Material &aMaterial)
 
MaterialgetMaterial ()
 

Protected Attributes

std::shared_ptr< ObjmObj
 
typedef std::shared_ptr< Obj >
DisplayList::* 
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> DisplayList::* cinder::gl::DisplayList::unspecified_bool_type

Emulates shared_ptr-like behavior.

Constructor & Destructor Documentation

cinder::gl::DisplayList::DisplayList ( )
cinder::gl::DisplayList::DisplayList ( GLint  aMode)

Member Function Documentation

void cinder::gl::DisplayList::newList ( )
void cinder::gl::DisplayList::endList ( )
int cinder::gl::DisplayList::getID ( ) const
void cinder::gl::DisplayList::draw ( ) const
Matrix44f& cinder::gl::DisplayList::getModelMatrix ( )
const Matrix44f& cinder::gl::DisplayList::getModelMatrix ( ) const
void cinder::gl::DisplayList::setMaterial ( const Material aMaterial)
Material& cinder::gl::DisplayList::getMaterial ( )
cinder::gl::DisplayList::operator unspecified_bool_type ( ) const

Emulates shared_ptr-like behavior.

void cinder::gl::DisplayList::reset ( )

Emulates shared_ptr-like behavior.

Member Data Documentation

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

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