Public Member Functions | Protected Attributes

glut::MaterialContext Class Reference

helper class: put one of these on the stack, and it will make sure that prepare() and cleanup() are called. More...

#include <material.h>

Collaboration diagram for glut::MaterialContext:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MaterialContext (smart_ptr< Material > &material)
 ~MaterialContext (void) throw ()

Protected Attributes

smart_ptr< Materialm_material

Detailed Description

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.


Constructor & Destructor Documentation

glut::MaterialContext::MaterialContext ( 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.


Member Data Documentation

Definition at line 91 of file material.h.


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