domGles2_shader Class Reference

#include <domGles2_shader.h>

Inheritance diagram for domGles2_shader:
Inheritance graph
[legend]

List of all members.

Classes

class  domSources

Public Types

typedef daeTArray< domSourcesRefdomSources_Array
typedef daeSmartRef< domSourcesdomSourcesRef

Public Member Functions

const domFx_target_ArraygetCompiler_array () const
domFx_target_ArraygetCompiler_array ()
virtual COLLADA_TYPE::TypeEnum getElementType () const
const domExtra_ArraygetExtra_array () const
domExtra_ArraygetExtra_array ()
const domSourcesRef 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

 domGles2_shader (DAE &dae)
virtual domGles2_shaderoperator= (const domGles2_shader &cpy)
virtual ~domGles2_shader ()

Protected Attributes

domFx_pipeline_stage attrStage
domFx_target_Array elemCompiler_array
domExtra_Array elemExtra_array
domSourcesRef 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 17 of file domGles2_shader.h.


Member Typedef Documentation

Definition at line 27 of file domGles2_shader.h.

Definition at line 24 of file domGles2_shader.h.


Constructor & Destructor Documentation

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

Constructor

Definition at line 150 of file domGles2_shader.h.

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

Destructor

Definition at line 154 of file domGles2_shader.h.


Member Function Documentation

static DLLSPEC daeElementRef domGles2_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.
const domFx_target_Array& domGles2_shader::getCompiler_array (  )  const [inline]

Gets the compiler element array.

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

Definition at line 135 of file domGles2_shader.h.

domFx_target_Array& domGles2_shader::getCompiler_array (  )  [inline]

Gets the compiler element array.

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

Definition at line 130 of file domGles2_shader.h.

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

Reimplemented from daeElement.

Definition at line 20 of file domGles2_shader.h.

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

Gets the extra element array.

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

Definition at line 145 of file domGles2_shader.h.

domExtra_Array& domGles2_shader::getExtra_array (  )  [inline]

Gets the extra element array.

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

Definition at line 140 of file domGles2_shader.h.

const domSourcesRef domGles2_shader::getSources (  )  const [inline]

Gets the sources element.

Returns:
a daeSmartRef to the sources element.

Definition at line 125 of file domGles2_shader.h.

domFx_pipeline_stage domGles2_shader::getStage (  )  const [inline]

Gets the stage attribute.

Returns:
Returns a domFx_pipeline_stage of the stage attribute.

Definition at line 114 of file domGles2_shader.h.

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

Definition at line 21 of file domGles2_shader.h.

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

Overloaded assignment operator

Definition at line 158 of file domGles2_shader.h.

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

Sets the stage attribute.

Parameters:
atStage The new value for the stage attribute.

Definition at line 119 of file domGles2_shader.h.

virtual daeInt domGles2_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 22 of file domGles2_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 94 of file domGles2_shader.h.

Not used by GLSL. This identifies a very specific binary target format for such things as a specific generation of GPU. Ex. NV4x

See also:
domCompiler

Definition at line 106 of file domGles2_shader.h.

Definition at line 107 of file domGles2_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 101 of file domGles2_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:30:53 2013