domCg_pass::domProgram::domShader Class Reference

#include <domCg_pass.h>

Inheritance diagram for domCg_pass::domProgram::domShader:
Inheritance graph
[legend]

List of all members.

Classes

class  domBind_uniform
class  domSources

Public Types

typedef daeTArray
< domBind_uniformRef
domBind_uniform_Array
typedef daeSmartRef
< domBind_uniform
domBind_uniformRef
typedef daeTArray< domSourcesRefdomSources_Array
typedef daeSmartRef< domSourcesdomSourcesRef

Public Member Functions

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

 domShader (DAE &dae)
virtual domShaderoperator= (const domShader &cpy)
virtual ~domShader ()

Protected Attributes

domFx_pipeline_stage attrStage
domBind_uniform_Array elemBind_uniform_array
domFx_target_Array elemCompiler_array
domSourcesRef elemSources

Detailed Description

Declare and prepare a shader for execution in the rendering pipeline of a pass.

Definition at line 104 of file domCg_pass.h.


Member Typedef Documentation

Definition at line 176 of file domCg_pass.h.

Definition at line 173 of file domCg_pass.h.

Definition at line 114 of file domCg_pass.h.

Definition at line 111 of file domCg_pass.h.


Constructor & Destructor Documentation

domCg_pass::domProgram::domShader::domShader ( DAE dae  )  [inline, protected]

Constructor

Definition at line 398 of file domCg_pass.h.

virtual domCg_pass::domProgram::domShader::~domShader (  )  [inline, protected, virtual]

Destructor

Definition at line 402 of file domCg_pass.h.


Member Function Documentation

static DLLSPEC daeElementRef domCg_pass::domProgram::domShader::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 domBind_uniform_Array& domCg_pass::domProgram::domShader::getBind_uniform_array (  )  const [inline]

Gets the bind_uniform element array.

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

Definition at line 393 of file domCg_pass.h.

domBind_uniform_Array& domCg_pass::domProgram::domShader::getBind_uniform_array (  )  [inline]

Gets the bind_uniform element array.

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

Definition at line 388 of file domCg_pass.h.

const domFx_target_Array& domCg_pass::domProgram::domShader::getCompiler_array (  )  const [inline]

Gets the compiler element array.

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

Definition at line 383 of file domCg_pass.h.

domFx_target_Array& domCg_pass::domProgram::domShader::getCompiler_array (  )  [inline]

Gets the compiler element array.

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

Definition at line 378 of file domCg_pass.h.

virtual COLLADA_TYPE::TypeEnum domCg_pass::domProgram::domShader::getElementType (  )  const [inline, virtual]

Reimplemented from daeElement.

Definition at line 107 of file domCg_pass.h.

const domSourcesRef domCg_pass::domProgram::domShader::getSources (  )  const [inline]

Gets the sources element.

Returns:
a daeSmartRef to the sources element.

Definition at line 373 of file domCg_pass.h.

domFx_pipeline_stage domCg_pass::domProgram::domShader::getStage (  )  const [inline]

Gets the stage attribute.

Returns:
Returns a domFx_pipeline_stage of the stage attribute.

Definition at line 362 of file domCg_pass.h.

static daeInt domCg_pass::domProgram::domShader::ID (  )  [inline, static]

Definition at line 108 of file domCg_pass.h.

virtual domShader& domCg_pass::domProgram::domShader::operator= ( const domShader cpy  )  [inline, protected, virtual]

Overloaded assignment operator

Definition at line 406 of file domCg_pass.h.

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

Sets the stage attribute.

Parameters:
atStage The new value for the stage attribute.

Definition at line 367 of file domCg_pass.h.

virtual daeInt domCg_pass::domProgram::domShader::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 109 of file domCg_pass.h.


Member Data Documentation

In which pipeline stage this programmable shader is designed to execute, for example, VERTEX, FRAGMENT, etc.

Definition at line 343 of file domCg_pass.h.

Binds values to uniform inputs of a shader.

See also:
domBind_uniform

Definition at line 355 of file domCg_pass.h.

Definition at line 351 of file domCg_pass.h.

collect the sources together for the shader. Use concat to make the final string.

See also:
domSources

Definition at line 350 of file domCg_pass.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:29:44 2013