helper class: put one of these on the stack, and it will make sure that prepare() and cleanup() are called. More...
#include <material.h>
Public Member Functions | |
MaterialContext (IN smart_ptr< Material > &material) | |
~MaterialContext (void) throw () | |
Protected Attributes | |
smart_ptr< Material > | m_material |
helper class: put one of these on the stack, and it will make sure that prepare() and cleanup() are called.
Definition at line 74 of file material.h.
glut::MaterialContext::MaterialContext | ( | IN smart_ptr< Material > & | material | ) | [inline] |
Definition at line 77 of file material.h.
glut::MaterialContext::~MaterialContext | ( | void | ) | throw () [inline] |
Definition at line 83 of file material.h.
smart_ptr<Material> glut::MaterialContext::m_material [protected] |
Definition at line 91 of file material.h.