#include <domGlsl_program.h>
Classes | |
class | domSemantic |
Public Types | |
typedef daeTArray< domSemanticRef > | domSemantic_Array |
typedef daeSmartRef< domSemantic > | domSemanticRef |
Public Member Functions | |
const daeElementRefArray & | getContents () const |
daeElementRefArray & | getContents () |
virtual COLLADA_TYPE::TypeEnum | getElementType () const |
const domSemanticRef | getSemantic () const |
xsToken | getSymbol () const |
void | setSymbol (xsToken atSymbol) |
virtual daeInt | typeID () const |
Static Public Member Functions | |
static DLLSPEC daeElementRef | create (DAE &dae) |
static daeInt | ID () |
static DLLSPEC daeMetaElement * | registerElement (DAE &dae) |
Protected Member Functions | |
domBind_attribute (DAE &dae) | |
virtual domBind_attribute & | operator= (const domBind_attribute &cpy) |
virtual | ~domBind_attribute () |
Protected Attributes | |
daeTArray< daeCharArray * > | _CMData |
daeElementRefArray | _contents |
daeUIntArray | _contentsOrder |
xsToken | attrSymbol |
domSemanticRef | elemSemantic |
Bind attributes. If not bound then it is assumed to be the same semantic as the variable name. If the variable name is prefixed with "gl_" or "sv_" then the prefix may be ignored.
Definition at line 32 of file domGlsl_program.h.
Definition at line 42 of file domGlsl_program.h.
Definition at line 39 of file domGlsl_program.h.
domGlsl_program::domBind_attribute::domBind_attribute | ( | DAE & | dae | ) | [inline, protected] |
Constructor
Definition at line 163 of file domGlsl_program.h.
virtual domGlsl_program::domBind_attribute::~domBind_attribute | ( | ) | [inline, protected, virtual] |
Destructor
Definition at line 167 of file domGlsl_program.h.
static DLLSPEC daeElementRef domGlsl_program::domBind_attribute::create | ( | DAE & | dae | ) | [static] |
Creates an instance of this class and returns a daeElementRef referencing it.
const daeElementRefArray& domGlsl_program::domBind_attribute::getContents | ( | ) | const [inline] |
Gets the _contents array.
Definition at line 157 of file domGlsl_program.h.
daeElementRefArray& domGlsl_program::domBind_attribute::getContents | ( | ) | [inline] |
Gets the _contents array.
Definition at line 152 of file domGlsl_program.h.
virtual COLLADA_TYPE::TypeEnum domGlsl_program::domBind_attribute::getElementType | ( | ) | const [inline, virtual] |
Reimplemented from daeElement.
Definition at line 35 of file domGlsl_program.h.
const domSemanticRef domGlsl_program::domBind_attribute::getSemantic | ( | ) | const [inline] |
Gets the semantic element.
Definition at line 147 of file domGlsl_program.h.
xsToken domGlsl_program::domBind_attribute::getSymbol | ( | ) | const [inline] |
Gets the symbol attribute.
Definition at line 136 of file domGlsl_program.h.
static daeInt domGlsl_program::domBind_attribute::ID | ( | ) | [inline, static] |
Definition at line 36 of file domGlsl_program.h.
virtual domBind_attribute& domGlsl_program::domBind_attribute::operator= | ( | const domBind_attribute & | cpy | ) | [inline, protected, virtual] |
Overloaded assignment operator
Definition at line 171 of file domGlsl_program.h.
static DLLSPEC daeMetaElement* domGlsl_program::domBind_attribute::registerElement | ( | DAE & | dae | ) | [static] |
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.
void domGlsl_program::domBind_attribute::setSymbol | ( | xsToken | atSymbol | ) | [inline] |
Sets the symbol attribute.
atSymbol | The new value for the symbol attribute. |
Definition at line 141 of file domGlsl_program.h.
virtual daeInt domGlsl_program::domBind_attribute::typeID | ( | ) | const [inline, virtual] |
Returns this element's type ID. Every element is an instance of a type specified in the Collada schema, and every schema type has a unique ID.
Implements daeElement.
Definition at line 37 of file domGlsl_program.h.
daeTArray< daeCharArray * > domGlsl_program::domBind_attribute::_CMData [protected] |
Used to store information needed for some content model objects.
Definition at line 128 of file domGlsl_program.h.
Used to preserve order in elements that do not specify strict sequencing of sub-elements.
Definition at line 119 of file domGlsl_program.h.
Used to preserve order in elements that have a complex content model.
Definition at line 123 of file domGlsl_program.h.
shader variable name
Definition at line 107 of file domGlsl_program.h.
Bind attributes to semantics to enable semantic association to attributes that are not redeclared as parameters. Without this, the semantic is the same as the attribute's name.
Definition at line 115 of file domGlsl_program.h.