# Cinder

# cinder::gl::DisplayList Class Reference

`#include <DisplayList.h>`

List of all members.

## Classes
struct | Obj
## Public Member Functions
| DisplayList ()
| DisplayList (GLint aMode)
void | newList ()
void | endList ()
int | getID () const
void | draw () const
Matrix44f & | getModelMatrix ()
const Matrix44f & | getModelMatrix () const
void | setMaterial (const Material &aMaterial)
Material & | getMaterial ()
## Protected Attributes
shared_ptr< Obj > | mObj
typedef shared_ptr< Obj > DisplayList::* | unspecified_bool_type
| Emulates shared_ptr-like behavior.
| operator unspecified_bool_type ()
| Emulates shared_ptr-like behavior.
void | reset ()
| Emulates shared_ptr-like behavior.

## Member Typedef Documentation

typedef 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 | ( |  | ) |

Emulates shared_ptr-like behavior.

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

Emulates shared_ptr-like behavior.

## Member Data Documentation

shared_ptr<Obj> cinder::gl::DisplayList::mObj`[protected]`

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

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