domGles2_program Class Reference

#include <domGles2_program.h>

Inheritance diagram for domGles2_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 domFx_target_ArraygetLinker_array () const
domFx_target_ArraygetLinker_array ()
const domGles2_shader_ArraygetShader_array () const
domGles2_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

 domGles2_program (DAE &dae)
virtual domGles2_programoperator= (const domGles2_program &cpy)
virtual ~domGles2_program ()

Protected Attributes

domBind_attribute_Array elemBind_attribute_array
domBind_uniform_Array elemBind_uniform_array
domFx_target_Array elemLinker_array
domGles2_shader_Array elemShader_array

Detailed Description

a program is one or more shaders linked together

Definition at line 16 of file domGles2_program.h.


Member Typedef Documentation

Definition at line 26 of file domGles2_program.h.

Definition at line 23 of file domGles2_program.h.

Definition at line 191 of file domGles2_program.h.

Definition at line 188 of file domGles2_program.h.


Constructor & Destructor Documentation

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

Constructor

Definition at line 420 of file domGles2_program.h.

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

Destructor

Definition at line 424 of file domGles2_program.h.


Member Function Documentation

static DLLSPEC daeElementRef domGles2_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& domGles2_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 405 of file domGles2_program.h.

domBind_attribute_Array& domGles2_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 400 of file domGles2_program.h.

const domBind_uniform_Array& domGles2_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 415 of file domGles2_program.h.

domBind_uniform_Array& domGles2_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 410 of file domGles2_program.h.

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

Reimplemented from daeElement.

Definition at line 19 of file domGles2_program.h.

const domFx_target_Array& domGles2_program::getLinker_array (  )  const [inline]

Gets the linker element array.

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

Definition at line 395 of file domGles2_program.h.

domFx_target_Array& domGles2_program::getLinker_array (  )  [inline]

Gets the linker element array.

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

Definition at line 390 of file domGles2_program.h.

const domGles2_shader_Array& domGles2_program::getShader_array (  )  const [inline]

Gets the shader element array.

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

Definition at line 385 of file domGles2_program.h.

domGles2_shader_Array& domGles2_program::getShader_array (  )  [inline]

Gets the shader element array.

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

Definition at line 380 of file domGles2_program.h.

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

Definition at line 20 of file domGles2_program.h.

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

Overloaded assignment operator

Definition at line 428 of file domGles2_program.h.

static DLLSPEC daeMetaElement* domGles2_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 domGles2_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 21 of file domGles2_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 369 of file domGles2_program.h.

Bind uniforms and samplers

See also:
domBind_uniform

Definition at line 373 of file domGles2_program.h.

link shaders into program

See also:
domLinker

Definition at line 363 of file domGles2_program.h.

compile shader stages

See also:
domShader

Definition at line 359 of file domGles2_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:30:52 2013