static void InitializeMaterialDefList(idLexer *src, const char *typeName, MaterialDefList *list)
Loads a single type of material attributes and adds them to the supplied MaterialDefList object...
GLsizei const GLfloat * value
MaterialDef(void)
Constructor.
DWORD GetViewData(const char *viewName)
Returns view specific data associated with the material definition.
This class contains static utility functions that view and MaterialDoc use to access the MaterialDef ...
GLuint GLuint GLsizei GLenum type
idHashTable< DWORD > viewData
static void DestroyMaterialDefLists()
Destroys all MaterialDef instances and clears the material attribute grouping lists.
Represents a single attribute in a material.
void SetViewData(const char *viewName, DWORD value)
Sets view specific data for the material definition.
idList< MaterialDef * > MaterialDefList
A list of material attributes.
static MaterialDefList materialDefs[MATERIAL_DEF_NUM]
static void InitializeMaterialDefLists()
Loads the material definition file instatiates MaterialDef objects for each definition and groups the...
static MaterialDefList * GetMaterialDefs(int type)
Returns the MaterialDefList for the specified attribute grouping.
virtual ~MaterialDef(void)
Destructor.