domGles2_shader::domSources Class Reference

#include <domGles2_shader.h>

Inheritance diagram for domGles2_shader::domSources:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual COLLADA_TYPE::TypeEnum getElementType () const
xsToken getEntry () const
void setEntry (xsToken atEntry)
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

 domSources (DAE &dae)
virtual domSourcesoperator= (const domSources &cpy)
virtual ~domSources ()

Protected Attributes

xsToken attrEntry

Detailed Description

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

Definition at line 33 of file domGles2_shader.h.


Constructor & Destructor Documentation

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

Constructor

Definition at line 63 of file domGles2_shader.h.

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

Destructor

Definition at line 67 of file domGles2_shader.h.


Member Function Documentation

static DLLSPEC daeElementRef domGles2_shader::domSources::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.

Reimplemented from domFx_sources.

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

Reimplemented from domFx_sources.

Definition at line 36 of file domGles2_shader.h.

xsToken domGles2_shader::domSources::getEntry (  )  const [inline]

Gets the entry attribute.

Returns:
Returns a xsToken of the entry attribute.

Definition at line 52 of file domGles2_shader.h.

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

Reimplemented from domFx_sources.

Definition at line 37 of file domGles2_shader.h.

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

Overloaded assignment operator

Definition at line 71 of file domGles2_shader.h.

static DLLSPEC daeMetaElement* domGles2_shader::domSources::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.

Reimplemented from domFx_sources.

void domGles2_shader::domSources::setEntry ( xsToken  atEntry  )  [inline]

Sets the entry attribute.

Parameters:
atEntry The new value for the entry attribute.

Definition at line 57 of file domGles2_shader.h.

virtual daeInt domGles2_shader::domSources::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.

Reimplemented from domFx_sources.

Definition at line 38 of file domGles2_shader.h.


Member Data Documentation

Not used by GLSL. Some languages require functional entry points. GLSL always uses "main". CG requires an entry point

Definition at line 44 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