A class that represents a shader based program parameter. More...
#include <OgreShaderParameter.h>

Public Member Functions | |
| Parameter () | |
| Parameter (GpuConstantType type, const String &name, const Semantic &semantic, int index, const Content &content, size_t size=0) | |
| Class constructor. More... | |
| virtual | ~Parameter () |
| Class destructor. More... | |
| Content | getContent () const |
| Return the content of this parameter. More... | |
| int | getIndex () const |
| Get the index of this parameter. More... | |
| const String & | getName () const |
| Get the name of this parameter. More... | |
| const Semantic & | getSemantic () const |
| Get the semantic of this parameter. More... | |
| size_t | getSize () const |
| Returns the number of elements in the parameter (for arrays). More... | |
| GpuConstantType | getType () const |
| Get the type of this parameter. More... | |
| bool | isArray () const |
| Returns Whether this parameter is an array. More... | |
| virtual bool | isConstParameter () const |
| Returns true if this instance is a ConstParameter otherwise false. More... | |
| void | operator delete (void *ptr) |
| void | operator delete (void *ptr, void *) |
| void | operator delete (void *ptr, const char *, int, const char *) |
| void | operator delete[] (void *ptr) |
| void | operator delete[] (void *ptr, const char *, int, const char *) |
| void * | operator new (size_t sz, const char *file, int line, const char *func) |
| operator new, with debug line info More... | |
| void * | operator new (size_t sz) |
| void * | operator new (size_t sz, void *ptr) |
| placement operator new More... | |
| void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| array operator new, with debug line info More... | |
| void * | operator new[] (size_t sz) |
| void | setSize (size_t size) |
| Sets the number of elements in the parameter (for arrays). More... | |
| virtual String | toString () const |
| Returns the string representation of this parameter. More... | |
Protected Attributes | |
| Content | mContent |
| int | mIndex |
| String | mName |
| Semantic | mSemantic |
| size_t | mSize |
| GpuConstantType | mType |
A class that represents a shader based program parameter.
Definition at line 49 of file OgreShaderParameter.h.
| Ogre::RTShader::Parameter::Parameter | ( | ) |
| 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. |
|
virtual |
Class destructor.
Definition at line 320 of file OgreShaderParameter.h.
| Content Ogre::RTShader::Parameter::getContent | ( | ) | const |
Return the content of this parameter.
Definition at line 335 of file OgreShaderParameter.h.
| int Ogre::RTShader::Parameter::getIndex | ( | ) | const |
Get the index of this parameter.
Definition at line 332 of file OgreShaderParameter.h.
| const String& Ogre::RTShader::Parameter::getName | ( | void | ) | const |
Get the name of this parameter.
Definition at line 323 of file OgreShaderParameter.h.
| const Semantic& Ogre::RTShader::Parameter::getSemantic | ( | ) | const |
Get the semantic of this parameter.
Definition at line 329 of file OgreShaderParameter.h.
| size_t Ogre::RTShader::Parameter::getSize | ( | ) | const |
Returns the number of elements in the parameter (for arrays).
Definition at line 347 of file OgreShaderParameter.h.
| GpuConstantType Ogre::RTShader::Parameter::getType | ( | void | ) | const |
Get the type of this parameter.
Definition at line 326 of file OgreShaderParameter.h.
| bool Ogre::RTShader::Parameter::isArray | ( | ) | const |
Returns Whether this parameter is an array.
Definition at line 344 of file OgreShaderParameter.h.
|
virtual |
Returns true if this instance is a ConstParameter otherwise false.
Reimplemented in Ogre::RTShader::ConstParameter< valueType >.
Definition at line 338 of file OgreShaderParameter.h.
|
inherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 91 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 350 of file OgreShaderParameter.h.
|
virtual |
Returns the string representation of this parameter.
Reimplemented in Ogre::RTShader::ConstParameter< valueType >.
Definition at line 341 of file OgreShaderParameter.h.
|
protected |
Definition at line 363 of file OgreShaderParameter.h.
|
protected |
Definition at line 361 of file OgreShaderParameter.h.
|
protected |
Definition at line 355 of file OgreShaderParameter.h.
|
protected |
Definition at line 359 of file OgreShaderParameter.h.
|
protected |
Definition at line 365 of file OgreShaderParameter.h.
|
protected |
Definition at line 357 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 Wed Apr 22 2015 18:15:51