Helper template which is the base for our ConstParameters. More...
#include <OgreShaderParameter.h>

Public Member Functions | |
| ConstParameter (valueType val, GpuConstantType type, const Semantic &semantic, const Content &content) | |
| virtual | ~ConstParameter () |
| 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... | |
| const valueType & | getValue () const |
| Returns the native value of this parameter. More... | |
| bool | isArray () const |
| Returns Whether this parameter is an array. More... | |
| virtual bool | isConstParameter () const |
| 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 =0 |
Protected Attributes | |
| Content | mContent |
| int | mIndex |
| String | mName |
| Semantic | mSemantic |
| size_t | mSize |
| GpuConstantType | mType |
| valueType | mValue |
Helper template which is the base for our ConstParameters.
Definition at line 576 of file OgreShaderParameter.h.
| Ogre::RTShader::ConstParameter< valueType >::ConstParameter | ( | valueType | val, |
| GpuConstantType | type, | ||
| const Semantic & | semantic, | ||
| const Content & | content | ||
| ) |
Definition at line 580 of file OgreShaderParameter.h.
References Ogre::RTShader::ConstParameter< valueType >::mValue.
|
virtual |
Definition at line 589 of file OgreShaderParameter.h.
|
inherited |
Return the content of this parameter.
Definition at line 335 of file OgreShaderParameter.h.
|
inherited |
Get the index of this parameter.
Definition at line 332 of file OgreShaderParameter.h.
|
inherited |
Get the name of this parameter.
Definition at line 323 of file OgreShaderParameter.h.
|
inherited |
Get the semantic of this parameter.
Definition at line 329 of file OgreShaderParameter.h.
|
inherited |
Returns the number of elements in the parameter (for arrays).
Definition at line 347 of file OgreShaderParameter.h.
|
inherited |
Get the type of this parameter.
Definition at line 326 of file OgreShaderParameter.h.
| const valueType& Ogre::RTShader::ConstParameter< valueType >::getValue | ( | void | ) | const |
Returns the native value of this parameter.
(for example a Vector3)
Definition at line 592 of file OgreShaderParameter.h.
References Ogre::RTShader::ConstParameter< valueType >::mValue.
|
inherited |
Returns Whether this parameter is an array.
Definition at line 344 of file OgreShaderParameter.h.
|
virtual |
Reimplemented from Ogre::RTShader::Parameter.
Definition at line 597 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.
|
inherited |
Sets the number of elements in the parameter (for arrays).
Definition at line 350 of file OgreShaderParameter.h.
|
pure virtual |
Reimplemented from Ogre::RTShader::Parameter.
|
protectedinherited |
Definition at line 363 of file OgreShaderParameter.h.
|
protectedinherited |
Definition at line 361 of file OgreShaderParameter.h.
|
protectedinherited |
Definition at line 355 of file OgreShaderParameter.h.
|
protectedinherited |
Definition at line 359 of file OgreShaderParameter.h.
|
protectedinherited |
Definition at line 365 of file OgreShaderParameter.h.
|
protectedinherited |
Definition at line 357 of file OgreShaderParameter.h.
|
protected |
Definition at line 605 of file OgreShaderParameter.h.
Referenced by Ogre::RTShader::ConstParameter< valueType >::ConstParameter(), and Ogre::RTShader::ConstParameter< valueType >::getValue().
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