domGlsl_program::domBind_uniform Class Reference

#include <domGlsl_program.h>

Inheritance diagram for domGlsl_program::domBind_uniform:
Inheritance graph
[legend]

List of all members.

Classes

class  domParam

Public Types

typedef daeTArray< domParamRefdomParam_Array
typedef daeSmartRef< domParamdomParamRef

Public Member Functions

const daeElementRefArraygetContents () const
daeElementRefArraygetContents ()
virtual COLLADA_TYPE::TypeEnum getElementType () const
const domGlsl_valueRef getGlsl_value () const
const domParamRef getParam () 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 daeMetaElementregisterElement (DAE &dae)

Protected Member Functions

 domBind_uniform (DAE &dae)
virtual domBind_uniformoperator= (const domBind_uniform &cpy)
virtual ~domBind_uniform ()

Protected Attributes

daeTArray< daeCharArray * > _CMData
daeElementRefArray _contents
daeUIntArray _contentsOrder
xsToken attrSymbol
domGlsl_valueRef elemGlsl_value
domParamRef elemParam

Detailed Description

Bind uniforms and samplers

Definition at line 195 of file domGlsl_program.h.


Member Typedef Documentation

Definition at line 205 of file domGlsl_program.h.

Definition at line 202 of file domGlsl_program.h.


Constructor & Destructor Documentation

domGlsl_program::domBind_uniform::domBind_uniform ( DAE dae  )  [inline, protected]

Constructor

Definition at line 328 of file domGlsl_program.h.

virtual domGlsl_program::domBind_uniform::~domBind_uniform (  )  [inline, protected, virtual]

Destructor

Definition at line 332 of file domGlsl_program.h.


Member Function Documentation

static DLLSPEC daeElementRef domGlsl_program::domBind_uniform::create ( DAE dae  )  [static]

Creates an instance of this class and returns a daeElementRef referencing it.

Returns:
a daeElementRef referencing an instance of this object.
const daeElementRefArray& domGlsl_program::domBind_uniform::getContents (  )  const [inline]

Gets the _contents array.

Returns:
Returns a constant reference to the _contents element array.

Definition at line 322 of file domGlsl_program.h.

daeElementRefArray& domGlsl_program::domBind_uniform::getContents (  )  [inline]

Gets the _contents array.

Returns:
Returns a reference to the _contents element array.

Definition at line 317 of file domGlsl_program.h.

virtual COLLADA_TYPE::TypeEnum domGlsl_program::domBind_uniform::getElementType (  )  const [inline, virtual]

Reimplemented from daeElement.

Definition at line 198 of file domGlsl_program.h.

const domGlsl_valueRef domGlsl_program::domBind_uniform::getGlsl_value (  )  const [inline]

Gets the glsl_value element.

Returns:
a daeSmartRef to the glsl_value element.

Definition at line 312 of file domGlsl_program.h.

const domParamRef domGlsl_program::domBind_uniform::getParam (  )  const [inline]

Gets the param element.

Returns:
a daeSmartRef to the param element.

Definition at line 307 of file domGlsl_program.h.

xsToken domGlsl_program::domBind_uniform::getSymbol (  )  const [inline]

Gets the symbol attribute.

Returns:
Returns a xsToken of the symbol attribute.

Definition at line 296 of file domGlsl_program.h.

static daeInt domGlsl_program::domBind_uniform::ID (  )  [inline, static]

Definition at line 199 of file domGlsl_program.h.

virtual domBind_uniform& domGlsl_program::domBind_uniform::operator= ( const domBind_uniform cpy  )  [inline, protected, virtual]

Overloaded assignment operator

Definition at line 336 of file domGlsl_program.h.

static DLLSPEC daeMetaElement* domGlsl_program::domBind_uniform::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.

Returns:
A daeMetaElement describing this COLLADA element.
void domGlsl_program::domBind_uniform::setSymbol ( xsToken  atSymbol  )  [inline]

Sets the symbol attribute.

Parameters:
atSymbol The new value for the symbol attribute.

Definition at line 301 of file domGlsl_program.h.

virtual daeInt domGlsl_program::domBind_uniform::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.

Returns:
The element's type ID.

Implements daeElement.

Definition at line 200 of file domGlsl_program.h.


Member Data Documentation

Used to store information needed for some content model objects.

Definition at line 288 of file domGlsl_program.h.

Used to preserve order in elements that do not specify strict sequencing of sub-elements.

Definition at line 279 of file domGlsl_program.h.

Used to preserve order in elements that have a complex content model.

Definition at line 283 of file domGlsl_program.h.

shader variable name

Definition at line 268 of file domGlsl_program.h.

Definition at line 275 of file domGlsl_program.h.

Bind uniforms to parameters

See also:
domParam

Definition at line 274 of file domGlsl_program.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


colladadom
Author(s): Du Hung Hou, Khronos.org, Marcus Barnes, Greg Corson, Herbert Law, Sebastian Schwarz, Steven Thomas, John Hsu (ros package), Tim Field (ros package)
autogenerated on Fri Jan 11 09:31:21 2013