domGlsl_shader Class Reference

#include <domGlsl_shader.h>

Inheritance diagram for domGlsl_shader:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual COLLADA_TYPE::TypeEnum getElementType () const
const domExtra_ArraygetExtra_array () const
domExtra_ArraygetExtra_array ()
const domFx_sourcesRef getSources () const
domFx_pipeline_stage getStage () const
void setStage (domFx_pipeline_stage atStage)
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

 domGlsl_shader (DAE &dae)
virtual domGlsl_shaderoperator= (const domGlsl_shader &cpy)
virtual ~domGlsl_shader ()

Protected Attributes

domFx_pipeline_stage attrStage
domExtra_Array elemExtra_array
domFx_sourcesRef elemSources

Detailed Description

Identify code fragments and bind their parameters to effect parameters to identify how their values will be filled in

Definition at line 16 of file domGlsl_shader.h.


Constructor & Destructor Documentation

domGlsl_shader::domGlsl_shader ( DAE dae  )  [inline, protected]

Constructor

Definition at line 69 of file domGlsl_shader.h.

virtual domGlsl_shader::~domGlsl_shader (  )  [inline, protected, virtual]

Destructor

Definition at line 73 of file domGlsl_shader.h.


Member Function Documentation

static DLLSPEC daeElementRef domGlsl_shader::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.
virtual COLLADA_TYPE::TypeEnum domGlsl_shader::getElementType (  )  const [inline, virtual]

Reimplemented from daeElement.

Definition at line 19 of file domGlsl_shader.h.

const domExtra_Array& domGlsl_shader::getExtra_array (  )  const [inline]

Gets the extra element array.

Returns:
Returns a constant reference to the array of extra elements.

Definition at line 64 of file domGlsl_shader.h.

domExtra_Array& domGlsl_shader::getExtra_array (  )  [inline]

Gets the extra element array.

Returns:
Returns a reference to the array of extra elements.

Definition at line 59 of file domGlsl_shader.h.

const domFx_sourcesRef domGlsl_shader::getSources (  )  const [inline]

Gets the sources element.

Returns:
a daeSmartRef to the sources element.

Definition at line 54 of file domGlsl_shader.h.

domFx_pipeline_stage domGlsl_shader::getStage (  )  const [inline]

Gets the stage attribute.

Returns:
Returns a domFx_pipeline_stage of the stage attribute.

Definition at line 43 of file domGlsl_shader.h.

static daeInt domGlsl_shader::ID (  )  [inline, static]

Definition at line 20 of file domGlsl_shader.h.

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

Overloaded assignment operator

Definition at line 77 of file domGlsl_shader.h.

static DLLSPEC daeMetaElement* domGlsl_shader::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_shader::setStage ( domFx_pipeline_stage  atStage  )  [inline]

Sets the stage attribute.

Parameters:
atStage The new value for the stage attribute.

Definition at line 48 of file domGlsl_shader.h.

virtual daeInt domGlsl_shader::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 21 of file domGlsl_shader.h.


Member Data Documentation

GPU Pipeline stage for this programmable shader. Current standards are VERTEX (vertex shader), FRAGMENT (pixel or fragment shader). These are recognized by both GLSL and CG

Definition at line 28 of file domGlsl_shader.h.

Definition at line 36 of file domGlsl_shader.h.

sid of the code or include element which provides the source for this shader. Code may come from local or library_code.

See also:
domSources

Definition at line 35 of file domGlsl_shader.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