domShader Class Reference
#include <domShader.h>
Inheritance diagram for domShader:


Detailed Description
Shaders describe the process of rendering the appearance of a geometric object.The shader element declares the rendering techniques used to produce the appearance of a material. The shader element contains declarations of parameters and techniques.
Public Types | |
| typedef daeSmartRef< domTechnique > | domTechniqueRef |
| typedef daeTArray< domTechniqueRef > | domTechnique_Array |
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. | |
| domParam_Array & | getParam_array () |
| Gets the param element array. | |
| const domParam_Array & | getParam_array () const |
| Gets the param element array. | |
| domTechnique_Array & | getTechnique_array () |
| Gets the technique element array. | |
| const domTechnique_Array & | getTechnique_array () const |
| Gets the technique 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 | |
| domShader () | |
| Constructor. | |
| virtual | ~domShader () |
| Destructor. | |
| domShader (const domShader &cpy) | |
| Copy Constructor. | |
| virtual domShader & | operator= (const domShader &cpy) |
| Overloaded assignment operator. | |
Protected Attributes | |
| xsID | attrId |
| The id attribute is a text string containing the unique identifier of the shader element. | |
| xsNCName | attrName |
| The name attribute is the text string name of this element. | |
| domParam_Array | elemParam_array |
| The param element may occur zero or more times. | |
| domTechnique_Array | elemTechnique_array |
| Each technique element specified corresponds to a (platform) profile. | |
Classes | |
| class | domTechnique |
| Each technique element specified corresponds to a (platform) profile. More... | |
Member Function Documentation
|
|
Creates an instance of this class and returns a daeElementRef referencing it.
|
|
|
Gets the id attribute.
|
|
|
Gets the name attribute.
|
|
|
Gets the param element array.
|
|
|
Gets the param element array.
|
|
|
Gets the technique element array.
|
|
|
Gets the technique 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 shader 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 param element may occur zero or more times. A param element specified as a child of the shader element is in the scope of all the shader's techniques. This implies that the parameter is invariant across all the techniques as well.
|
|
|
Each technique element specified corresponds to a (platform) profile. This implies that the set of techniques are mutually exclusive. However, an application may choose to apply information from multiple techniques. The technique element must occur one or more times.
|
The documentation for this class was generated from the following files:
- C:/SVN_wf/COLLADA_DOM/include/1.3/dom/domShader.h
- C:/SVN_wf/COLLADA_DOM/src/1.3/dom/domShader.cpp
©2005 Sony Computer Entertainment Inc.. All Rights Reserved.
Generated on Fri Feb 10 16:49:54 2006 for COLLADA 1.4 DOM by
1.4.3