domGlsl_program Class Reference

#include <domGlsl_program.h>

Inheritance diagram for domGlsl_program:
Inheritance graph
[legend]

List of all members.

Classes

class  domBind_attribute
class  domBind_uniform

Public Types

typedef daeTArray
< domBind_attributeRef
domBind_attribute_Array
typedef daeSmartRef
< domBind_attribute
domBind_attributeRef
typedef daeTArray
< domBind_uniformRef
domBind_uniform_Array
typedef daeSmartRef
< domBind_uniform
domBind_uniformRef

Public Member Functions

const domBind_attribute_ArraygetBind_attribute_array () const
domBind_attribute_ArraygetBind_attribute_array ()
const domBind_uniform_ArraygetBind_uniform_array () const
domBind_uniform_ArraygetBind_uniform_array ()
virtual COLLADA_TYPE::TypeEnum getElementType () const
const domGlsl_shader_ArraygetShader_array () const
domGlsl_shader_ArraygetShader_array ()
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_program (DAE &dae)
virtual domGlsl_programoperator= (const domGlsl_program &cpy)
virtual ~domGlsl_program ()

Protected Attributes

domBind_attribute_Array elemBind_attribute_array
domBind_uniform_Array elemBind_uniform_array
domGlsl_shader_Array elemShader_array

Detailed Description

a program is one or more shaders linked together

Definition at line 15 of file domGlsl_program.h.


Member Typedef Documentation

Definition at line 25 of file domGlsl_program.h.

Definition at line 22 of file domGlsl_program.h.

Definition at line 190 of file domGlsl_program.h.

Definition at line 187 of file domGlsl_program.h.


Constructor & Destructor Documentation

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

Constructor

Definition at line 405 of file domGlsl_program.h.

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

Destructor

Definition at line 409 of file domGlsl_program.h.


Member Function Documentation

static DLLSPEC daeElementRef domGlsl_program::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_attribute_Array& domGlsl_program::getBind_attribute_array (  )  const [inline]

Gets the bind_attribute element array.

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

Definition at line 390 of file domGlsl_program.h.

domBind_attribute_Array& domGlsl_program::getBind_attribute_array (  )  [inline]

Gets the bind_attribute element array.

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

Definition at line 385 of file domGlsl_program.h.

const domBind_uniform_Array& domGlsl_program::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 400 of file domGlsl_program.h.

domBind_uniform_Array& domGlsl_program::getBind_uniform_array (  )  [inline]

Gets the bind_uniform element array.

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

Definition at line 395 of file domGlsl_program.h.

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

Reimplemented from daeElement.

Definition at line 18 of file domGlsl_program.h.

const domGlsl_shader_Array& domGlsl_program::getShader_array (  )  const [inline]

Gets the shader element array.

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

Definition at line 380 of file domGlsl_program.h.

domGlsl_shader_Array& domGlsl_program::getShader_array (  )  [inline]

Gets the shader element array.

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

Definition at line 375 of file domGlsl_program.h.

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

Definition at line 19 of file domGlsl_program.h.

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

Overloaded assignment operator

Definition at line 413 of file domGlsl_program.h.

static DLLSPEC daeMetaElement* domGlsl_program::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.
virtual daeInt domGlsl_program::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 20 of file domGlsl_program.h.


Member Data Documentation

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.

See also:
domBind_attribute

Definition at line 364 of file domGlsl_program.h.

Bind uniforms and samplers

See also:
domBind_uniform

Definition at line 368 of file domGlsl_program.h.

compile shader stages

See also:
domShader

Definition at line 358 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:20 2013