domMaterial Class Reference
#include <domMaterial.h>
Inheritance diagram for domMaterial:
Detailed Description
Materials describe the visual appearance of a geometric object.The material element categorizes the declaration of rendering appearance information. The material element contains declarations of shaders, parameters, techniques, and vertex and pixel programs. A material element is the base container for all rendering and shading information. The visual appearance of a geometric object is described by its material properties.
Public Member Functions | |
xsID | getId () const |
Gets the id attribute. | |
void | setId (xsID atId) |
Sets the id attribute. | |
xsNCName | getName () const |
Gets the name attribute. | |
void | setName (xsNCName atName) |
Sets the name attribute. | |
const domAssetRef | getAsset () const |
Gets the asset element. | |
domParam_Array & | getParam_array () |
Gets the param element array. | |
const domParam_Array & | getParam_array () const |
Gets the param element array. | |
domShader_Array & | getShader_array () |
Gets the shader element array. | |
const domShader_Array & | getShader_array () const |
Gets the shader element array. | |
Static Public Member Functions | |
static daeElementRef | create (daeInt bytes) |
Creates an instance of this class and returns a daeElementRef referencing it. | |
static daeMetaElement * | registerElement () |
Creates a daeMetaElement object that describes this element in the meta object reflection framework. | |
Static Public Attributes | |
static daeMetaElement * | _Meta = NULL |
The daeMetaElement that describes this element in the meta object reflection framework. | |
Protected Member Functions | |
domMaterial () | |
Constructor. | |
virtual | ~domMaterial () |
Destructor. | |
domMaterial (const domMaterial &cpy) | |
Copy Constructor. | |
virtual domMaterial & | operator= (const domMaterial &cpy) |
Overloaded assignment operator. | |
Protected Attributes | |
xsID | attrId |
The id attribute is a text string containing the unique identifier of the material element. | |
xsNCName | attrName |
The name attribute is the text string name of this element. | |
domAssetRef | elemAsset |
The material element may contain zero or one asset elements. | |
domParam_Array | elemParam_array |
The material element may contain zero or more param elements. | |
domShader_Array | elemShader_array |
The material element must contain one or more shader elements. |
Member Function Documentation
|
Creates an instance of this class and returns a daeElementRef referencing it.
|
|
Gets the asset element.
|
|
Gets the id attribute.
|
|
Gets the name attribute.
|
|
Gets the param element array.
|
|
Gets the param element array.
|
|
Gets the shader element array.
|
|
Gets the shader element array.
|
|
Creates a daeMetaElement object that describes this element in the meta object reflection framework. If a daeMetaElement already exists it will return that instead of creating a new one.
|
|
Sets the id attribute.
|
|
Sets the name attribute.
|
Member Data Documentation
|
The id attribute is a text string containing the unique identifier of the material element. This value must be unique within the instance document. Optional attribute. |
|
The name attribute is the text string name of this element. Optional attribute. |
|
The material element may contain zero or one asset elements.
|
|
The material element may contain zero or more param elements.
|
|
The material element must contain one or more shader elements.
|
The documentation for this class was generated from the following files:
- C:/SVN_wf/COLLADA_DOM/include/1.3/dom/domMaterial.h
- C:/SVN_wf/COLLADA_DOM/src/1.3/dom/domMaterial.cpp
©2005 Sony Computer Entertainment Inc.. All Rights Reserved.
Generated on Fri Feb 10 16:49:03 2006 for COLLADA 1.4 DOM by 1.4.3