#include <domGlsl_shader.h>
Public Member Functions | |
virtual COLLADA_TYPE::TypeEnum | getElementType () const |
const domExtra_Array & | getExtra_array () const |
domExtra_Array & | getExtra_array () |
const domFx_sourcesRef | 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 daeMetaElement * | registerElement (DAE &dae) |
Protected Member Functions | |
domGlsl_shader (DAE &dae) | |
virtual domGlsl_shader & | operator= (const domGlsl_shader &cpy) |
virtual | ~domGlsl_shader () |
Protected Attributes | |
domFx_pipeline_stage | attrStage |
domExtra_Array | elemExtra_array |
domFx_sourcesRef | elemSources |
Identify code fragments and bind their parameters to effect parameters to identify how their values will be filled in
Definition at line 16 of file domGlsl_shader.h.
domGlsl_shader::domGlsl_shader | ( | DAE & | dae | ) | [inline, protected] |
Constructor
Definition at line 69 of file domGlsl_shader.h.
virtual domGlsl_shader::~domGlsl_shader | ( | ) | [inline, protected, virtual] |
Destructor
Definition at line 73 of file domGlsl_shader.h.
static DLLSPEC daeElementRef domGlsl_shader::create | ( | DAE & | dae | ) | [static] |
Creates an instance of this class and returns a daeElementRef referencing it.
virtual COLLADA_TYPE::TypeEnum domGlsl_shader::getElementType | ( | ) | const [inline, virtual] |
Reimplemented from daeElement.
Definition at line 19 of file domGlsl_shader.h.
const domExtra_Array& domGlsl_shader::getExtra_array | ( | ) | const [inline] |
Gets the extra element array.
Definition at line 64 of file domGlsl_shader.h.
domExtra_Array& domGlsl_shader::getExtra_array | ( | ) | [inline] |
Gets the extra element array.
Definition at line 59 of file domGlsl_shader.h.
const domFx_sourcesRef domGlsl_shader::getSources | ( | ) | const [inline] |
Gets the sources element.
Definition at line 54 of file domGlsl_shader.h.
domFx_pipeline_stage domGlsl_shader::getStage | ( | ) | const [inline] |
Gets the stage attribute.
Definition at line 43 of file domGlsl_shader.h.
static daeInt domGlsl_shader::ID | ( | ) | [inline, static] |
Definition at line 20 of file domGlsl_shader.h.
virtual domGlsl_shader& domGlsl_shader::operator= | ( | const domGlsl_shader & | cpy | ) | [inline, protected, virtual] |
Overloaded assignment operator
Definition at line 77 of file domGlsl_shader.h.
static DLLSPEC daeMetaElement* domGlsl_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.
void domGlsl_shader::setStage | ( | domFx_pipeline_stage | atStage | ) | [inline] |
Sets the stage attribute.
atStage | The new value for the stage attribute. |
Definition at line 48 of file domGlsl_shader.h.
virtual daeInt domGlsl_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.
Implements daeElement.
Definition at line 21 of file domGlsl_shader.h.
domFx_pipeline_stage domGlsl_shader::attrStage [protected] |
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 28 of file domGlsl_shader.h.
domExtra_Array domGlsl_shader::elemExtra_array [protected] |
Definition at line 36 of file domGlsl_shader.h.
domFx_sourcesRef domGlsl_shader::elemSources [protected] |
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 35 of file domGlsl_shader.h.