A class that represents a shader based program parameter. More...
#include <OgreShaderParameter.h>
A class that represents a shader based program parameter.
Definition at line 49 of file OgreShaderParameter.h.
SPC_UNKNOWN |
Unknown content. |
SPC_POSITION_OBJECT_SPACE |
Position in object space. |
SPC_POSITION_WORLD_SPACE |
Position in world space. |
SPC_POSITION_VIEW_SPACE |
Position in view space. |
SPC_POSITION_PROJECTIVE_SPACE |
Position in projective space. |
SPC_POSITION_LIGHT_SPACE0 |
Position in light space index 0-7. |
SPC_POSITION_LIGHT_SPACE1 | |
SPC_POSITION_LIGHT_SPACE2 | |
SPC_POSITION_LIGHT_SPACE3 | |
SPC_POSITION_LIGHT_SPACE4 | |
SPC_POSITION_LIGHT_SPACE5 | |
SPC_POSITION_LIGHT_SPACE6 | |
SPC_POSITION_LIGHT_SPACE7 | |
SPC_NORMAL_OBJECT_SPACE |
Normal in object space. |
SPC_NORMAL_WORLD_SPACE |
Normal in world space. |
SPC_NORMAL_VIEW_SPACE |
Normal in view space. |
SPC_NORMAL_TANGENT_SPACE |
Normal in tangent space. |
SPC_POSTOCAMERA_OBJECT_SPACE |
View vector in object space. |
SPC_POSTOCAMERA_WORLD_SPACE |
View vector in world space. |
SPC_POSTOCAMERA_VIEW_SPACE |
View vector in view space. |
SPC_POSTOCAMERA_TANGENT_SPACE |
View vector in tangent space. |
SPC_POSTOLIGHT_OBJECT_SPACE0 |
Light vector in object space index 0-7. |
SPC_POSTOLIGHT_OBJECT_SPACE1 | |
SPC_POSTOLIGHT_OBJECT_SPACE2 | |
SPC_POSTOLIGHT_OBJECT_SPACE3 | |
SPC_POSTOLIGHT_OBJECT_SPACE4 | |
SPC_POSTOLIGHT_OBJECT_SPACE5 | |
SPC_POSTOLIGHT_OBJECT_SPACE6 | |
SPC_POSTOLIGHT_OBJECT_SPACE7 | |
SPC_POSTOLIGHT_WORLD_SPACE0 |
Light vector in world space index 0-7. |
SPC_POSTOLIGHT_WORLD_SPACE1 | |
SPC_POSTOLIGHT_WORLD_SPACE2 | |
SPC_POSTOLIGHT_WORLD_SPACE3 | |
SPC_POSTOLIGHT_WORLD_SPACE4 | |
SPC_POSTOLIGHT_WORLD_SPACE5 | |
SPC_POSTOLIGHT_WORLD_SPACE6 | |
SPC_POSTOLIGHT_WORLD_SPACE7 | |
SPC_POSTOLIGHT_VIEW_SPACE0 |
Light vector in view space index 0-7. |
SPC_POSTOLIGHT_VIEW_SPACE1 | |
SPC_POSTOLIGHT_VIEW_SPACE2 | |
SPC_POSTOLIGHT_VIEW_SPACE3 | |
SPC_POSTOLIGHT_VIEW_SPACE4 | |
SPC_POSTOLIGHT_VIEW_SPACE5 | |
SPC_POSTOLIGHT_VIEW_SPACE6 | |
SPC_POSTOLIGHT_VIEW_SPACE7 | |
SPC_POSTOLIGHT_TANGENT_SPACE0 |
Light vector in tangent space index 0-7. |
SPC_POSTOLIGHT_TANGENT_SPACE1 | |
SPC_POSTOLIGHT_TANGENT_SPACE2 | |
SPC_POSTOLIGHT_TANGENT_SPACE3 | |
SPC_POSTOLIGHT_TANGENT_SPACE4 | |
SPC_POSTOLIGHT_TANGENT_SPACE5 | |
SPC_POSTOLIGHT_TANGENT_SPACE6 | |
SPC_POSTOLIGHT_TANGENT_SPACE7 | |
SPC_LIGHTDIRECTION_OBJECT_SPACE0 |
Light direction in object space index 0-7. |
SPC_LIGHTDIRECTION_OBJECT_SPACE1 | |
SPC_LIGHTDIRECTION_OBJECT_SPACE2 | |
SPC_LIGHTDIRECTION_OBJECT_SPACE3 | |
SPC_LIGHTDIRECTION_OBJECT_SPACE4 | |
SPC_LIGHTDIRECTION_OBJECT_SPACE5 | |
SPC_LIGHTDIRECTION_OBJECT_SPACE6 | |
SPC_LIGHTDIRECTION_OBJECT_SPACE7 | |
SPC_LIGHTDIRECTION_WORLD_SPACE0 |
Light direction in world space index 0-7. |
SPC_LIGHTDIRECTION_WORLD_SPACE1 | |
SPC_LIGHTDIRECTION_WORLD_SPACE2 | |
SPC_LIGHTDIRECTION_WORLD_SPACE3 | |
SPC_LIGHTDIRECTION_WORLD_SPACE4 | |
SPC_LIGHTDIRECTION_WORLD_SPACE5 | |
SPC_LIGHTDIRECTION_WORLD_SPACE6 | |
SPC_LIGHTDIRECTION_WORLD_SPACE7 | |
SPC_LIGHTDIRECTION_VIEW_SPACE0 |
Light direction in view space index 0-7. |
SPC_LIGHTDIRECTION_VIEW_SPACE1 | |
SPC_LIGHTDIRECTION_VIEW_SPACE2 | |
SPC_LIGHTDIRECTION_VIEW_SPACE3 | |
SPC_LIGHTDIRECTION_VIEW_SPACE4 | |
SPC_LIGHTDIRECTION_VIEW_SPACE5 | |
SPC_LIGHTDIRECTION_VIEW_SPACE6 | |
SPC_LIGHTDIRECTION_VIEW_SPACE7 | |
SPC_LIGHTDIRECTION_TANGENT_SPACE0 |
Light direction in tangent space index 0-7. |
SPC_LIGHTDIRECTION_TANGENT_SPACE1 | |
SPC_LIGHTDIRECTION_TANGENT_SPACE2 | |
SPC_LIGHTDIRECTION_TANGENT_SPACE3 | |
SPC_LIGHTDIRECTION_TANGENT_SPACE4 | |
SPC_LIGHTDIRECTION_TANGENT_SPACE5 | |
SPC_LIGHTDIRECTION_TANGENT_SPACE6 | |
SPC_LIGHTDIRECTION_TANGENT_SPACE7 | |
SPC_LIGHTPOSITION_OBJECT_SPACE0 |
Light position in object space index 0-7. |
SPC_LIGHTPOSITION_OBJECT_SPACE1 | |
SPC_LIGHTPOSITION_OBJECT_SPACE2 | |
SPC_LIGHTPOSITION_OBJECT_SPACE3 | |
SPC_LIGHTPOSITION_OBJECT_SPACE4 | |
SPC_LIGHTPOSITION_OBJECT_SPACE5 | |
SPC_LIGHTPOSITION_OBJECT_SPACE6 | |
SPC_LIGHTPOSITION_OBJECT_SPACE7 | |
SPC_LIGHTPOSITION_WORLD_SPACE0 |
Light position in world space index 0-7. |
SPC_LIGHTPOSITION_WORLD_SPACE1 | |
SPC_LIGHTPOSITION_WORLD_SPACE2 | |
SPC_LIGHTPOSITION_WORLD_SPACE3 | |
SPC_LIGHTPOSITION_WORLD_SPACE4 | |
SPC_LIGHTPOSITION_WORLD_SPACE5 | |
SPC_LIGHTPOSITION_WORLD_SPACE6 | |
SPC_LIGHTPOSITION_WORLD_SPACE7 | |
SPC_LIGHTPOSITIONVIEW_SPACE0 |
Light position in view space index 0-7. |
SPC_LIGHTPOSITIONVIEW_SPACE1 | |
SPC_LIGHTPOSITIONVIEW_SPACE2 | |
SPC_LIGHTPOSITIONVIEW_SPACE3 | |
SPC_LIGHTPOSITIONVIEW_SPACE4 | |
SPC_LIGHTPOSITIONVIEW_SPACE5 | |
SPC_LIGHTPOSITIONVIEW_SPACE6 | |
SPC_LIGHTPOSITIONVIEW_SPACE7 | |
SPC_LIGHTPOSITION_TANGENT_SPACE |
Light position in tangent space index 0-7. |
SPC_BLEND_WEIGHTS |
Blending weights. |
SPC_BLEND_INDICES |
Blending indices. |
SPC_TANGENT_OBJECT_SPACE |
Tangent in object space. |
SPC_TANGENT_WORLD_SPACE |
Tangent in world space. |
SPC_TANGENT_VIEW_SPACE |
Tangent in view space. |
SPC_TANGENT_TANGENT_SPACE |
Tangent in tangent space. |
SPC_BINORMAL_OBJECT_SPACE |
Binormal in object space. |
SPC_BINORMAL_WORLD_SPACE |
Binormal in world space. |
SPC_BINORMAL_VIEW_SPACE |
Binormal in view space. |
SPC_BINORMAL_TANGENT_SPACE |
Binormal in tangent space. |
SPC_COLOR_DIFFUSE |
Diffuse color. |
SPC_COLOR_SPECULAR |
Specular color. |
SPC_DEPTH_OBJECT_SPACE |
Depth in object space. |
SPC_DEPTH_WORLD_SPACE |
Depth in world space. |
SPC_DEPTH_VIEW_SPACE |
Depth in view space. |
SPC_DEPTH_PROJECTIVE_SPACE |
Depth in projective space. |
SPC_TEXTURE_COORDINATE0 |
Texture coordinate set index 0-7. |
SPC_TEXTURE_COORDINATE1 | |
SPC_TEXTURE_COORDINATE2 | |
SPC_TEXTURE_COORDINATE3 | |
SPC_TEXTURE_COORDINATE4 | |
SPC_TEXTURE_COORDINATE5 | |
SPC_TEXTURE_COORDINATE6 | |
SPC_TEXTURE_COORDINATE7 | |
SPC_CUSTOM_CONTENT_BEGIN |
Reserved custom content range to be used by user custom shader extensions. |
SPC_CUSTOM_CONTENT_END |
Definition at line 76 of file OgreShaderParameter.h.
SPS_UNKNOWN |
Unknown semantic. |
SPS_POSITION |
Position. |
SPS_BLEND_WEIGHTS |
Blending weights. |
SPS_BLEND_INDICES |
Blending indices. |
SPS_NORMAL |
Normal, 3 reals per vertex. |
SPS_COLOR |
General floating point color. |
SPS_TEXTURE_COORDINATES |
Texture coordinates. |
SPS_BINORMAL |
Binormal (Y axis if normal is Z). |
SPS_TANGENT |
Tangent (X axis if normal is Z). |
Definition at line 53 of file OgreShaderParameter.h.
Ogre::RTShader::Parameter::Parameter | ( | ) |
Definition at line 306 of file OgreShaderParameter.h.
Ogre::RTShader::Parameter::Parameter | ( | GpuConstantType | type, | |
const String & | name, | |||
const Semantic & | semantic, | |||
int | index, | |||
const Content & | content, | |||
size_t | size = 0 | |||
) |
Class constructor.
type | The type of this parameter. | |
name | The name of this parameter. | |
semantic | The semantic of this parameter. | |
index | The index of this parameter. | |
content | The content of this parameter. | |
variability | How this parameter varies (bitwise combination of GpuProgramVariability). |
virtual Ogre::RTShader::Parameter::~Parameter | ( | ) | [virtual] |
Class destructor.
Definition at line 321 of file OgreShaderParameter.h.
Content Ogre::RTShader::Parameter::getContent | ( | ) | const |
Return the content of this parameter.
Definition at line 336 of file OgreShaderParameter.h.
int Ogre::RTShader::Parameter::getIndex | ( | ) | const |
Get the index of this parameter.
Definition at line 333 of file OgreShaderParameter.h.
const String& Ogre::RTShader::Parameter::getName | ( | void | ) | const |
Get the name of this parameter.
Definition at line 324 of file OgreShaderParameter.h.
const Semantic& Ogre::RTShader::Parameter::getSemantic | ( | ) | const |
Get the semantic of this parameter.
Definition at line 330 of file OgreShaderParameter.h.
size_t Ogre::RTShader::Parameter::getSize | ( | ) | const |
Returns the number of elements in the parameter (for arrays).
Definition at line 348 of file OgreShaderParameter.h.
GpuConstantType Ogre::RTShader::Parameter::getType | ( | void | ) | const |
Get the type of this parameter.
Definition at line 327 of file OgreShaderParameter.h.
bool Ogre::RTShader::Parameter::isArray | ( | ) | const |
Returns Whether this parameter is an array.
Definition at line 345 of file OgreShaderParameter.h.
virtual bool Ogre::RTShader::Parameter::isConstParameter | ( | ) | const [virtual] |
Returns true if this instance is a ConstParameter otherwise false.
Reimplemented in Ogre::RTShader::ConstParameter< valueType >.
Definition at line 339 of file OgreShaderParameter.h.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr, | |
const char * | , | |||
int | , | |||
const char * | ||||
) | [inherited] |
Definition at line 107 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr, | |
void * | ||||
) | [inherited] |
Definition at line 101 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr | ) | [inherited] |
Definition at line 95 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr, | |
const char * | , | |||
int | , | |||
const char * | ||||
) | [inherited] |
Definition at line 118 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr | ) | [inherited] |
Definition at line 112 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz, | |
void * | ptr | |||
) | [inherited] |
placement operator new
Definition at line 78 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz | ) | [inherited] |
Definition at line 72 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz, | |
const char * | file, | |||
int | line, | |||
const char * | func | |||
) | [inherited] |
operator new, with debug line info
Definition at line 67 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz | ) | [inherited] |
Definition at line 90 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz, | |
const char * | file, | |||
int | line, | |||
const char * | func | |||
) | [inherited] |
array operator new, with debug line info
Definition at line 85 of file OgreMemoryAllocatedObject.h.
void Ogre::RTShader::Parameter::setSize | ( | size_t | size | ) |
Sets the number of elements in the parameter (for arrays).
Definition at line 351 of file OgreShaderParameter.h.
virtual String Ogre::RTShader::Parameter::toString | ( | ) | const [virtual] |
Returns the string representation of this parameter.
Reimplemented in Ogre::RTShader::ConstParameter< valueType >.
Definition at line 342 of file OgreShaderParameter.h.
Content Ogre::RTShader::Parameter::mContent [protected] |
Definition at line 359 of file OgreShaderParameter.h.
int Ogre::RTShader::Parameter::mIndex [protected] |
Definition at line 358 of file OgreShaderParameter.h.
String Ogre::RTShader::Parameter::mName [protected] |
Definition at line 355 of file OgreShaderParameter.h.
Semantic Ogre::RTShader::Parameter::mSemantic [protected] |
Definition at line 357 of file OgreShaderParameter.h.
size_t Ogre::RTShader::Parameter::mSize [protected] |
Definition at line 360 of file OgreShaderParameter.h.
GpuConstantType Ogre::RTShader::Parameter::mType [protected] |
Definition at line 356 of file OgreShaderParameter.h.
Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Fri May 25 23:42:53 2012