#include <meshmatdesc.h>
Inherits ShareBufferClass< VertexMaterialClass * >.
Public Member Functions | |
| MatBufferClass (int count, const char *msg) | |
| MatBufferClass (const MatBufferClass &that) | |
| ~MatBufferClass (void) | |
| void | Set_Element (int index, VertexMaterialClass *mat) |
| VertexMaterialClass * | Get_Element (int index) |
| VertexMaterialClass * | Peek_Element (int index) |
Public Member Functions inherited from ShareBufferClass< VertexMaterialClass * > | |
| ShareBufferClass (int count, const char *msg) | |
| ShareBufferClass (const ShareBufferClass &that) | |
| ~ShareBufferClass (void) | |
| VertexMaterialClass ** | Get_Array (void) |
| int | Get_Count (void) |
| void | Set_Element (int index, const VertexMaterialClass *&thing) |
| const VertexMaterialClass *& | Get_Element (int index) const |
| VertexMaterialClass *& | Get_Element (int index) |
| void | Clear (void) |
Public Member Functions inherited from W3DMPO | |
| virtual | ~W3DMPO () |
Public Member Functions inherited from RefCountClass | |
| RefCountClass (void) | |
| RefCountClass (const RefCountClass &) | |
| void | Add_Ref (void) const |
| WWINLINE void | Release_Ref (void) const |
| int | Num_Refs (void) const |
| virtual void | Delete_This (void) |
Additional Inherited Members | |
Static Public Member Functions inherited from RefCountClass | |
| static int | Total_Refs (void) |
| static RefCountClass * | Add_Active_Ref (RefCountClass *obj) |
| static RefCountClass * | Set_Ref_Owner (RefCountClass *obj, char *file, int line) |
| static void | Remove_Active_Ref (RefCountClass *obj) |
| static bool | Validate_Active_Ref (RefCountClass *obj) |
Public Attributes inherited from RefCountClass | |
| RefCountNodeClass | ActiveRefNode |
| ActiveRefStruct | ActiveRefInfo |
Static Public Attributes inherited from RefCountClass | |
| static RefCountListClass | ActiveRefList |
Protected Member Functions inherited from ShareBufferClass< VertexMaterialClass * > | |
| ShareBufferClass & | operator= (const ShareBufferClass &) |
Protected Member Functions inherited from W3DMPO | |
| virtual int | glueEnforcer () const =0 |
Protected Member Functions inherited from RefCountClass | |
| virtual | ~RefCountClass (void) |
Protected Attributes inherited from ShareBufferClass< VertexMaterialClass * > | |
| VertexMaterialClass ** | Array |
| int | Count |
MatBufferClass This is a ShareBufferClass of pointers to vertex materials. Should be written as a template... Get and Peek work like normal, and all non-NULL pointers will be released when the buffer is destroyed.
Definition at line 232 of file meshmatdesc.h.
|
inline |
Definition at line 236 of file meshmatdesc.h.
| MatBufferClass::MatBufferClass | ( | const MatBufferClass & | that | ) |
Definition at line 55 of file meshmatdesc.cpp.
| MatBufferClass::~MatBufferClass | ( | void | ) |
Definition at line 66 of file meshmatdesc.cpp.
| VertexMaterialClass * MatBufferClass::Get_Element | ( | int | index | ) |
Definition at line 78 of file meshmatdesc.cpp.
| VertexMaterialClass * MatBufferClass::Peek_Element | ( | int | index | ) |
Definition at line 86 of file meshmatdesc.cpp.
| void MatBufferClass::Set_Element | ( | int | index, |
| VertexMaterialClass * | mat ) |
Definition at line 73 of file meshmatdesc.cpp.