|  | 
|  | GpuSharedParameters (const String &name) | 
|  | 
| virtual | ~GpuSharedParameters () | 
|  | 
| const Any & | _getRenderSystemData () const | 
|  | Internal method that the RenderSystem might use to store optional data. 
 | 
|  | 
| void | _markClean () | 
|  | Mark the shared set as being clean (values successfully updated by the render system). 
 | 
|  | 
| void | _markDirty () | 
|  | Mark the shared set as being dirty (values modified and not yet updated in render system). 
 | 
|  | 
| void | _setRenderSystemData (const Any &data) const | 
|  | Internal method that the RenderSystem might use to store optional data. 
 | 
|  | 
| void | addConstantDefinition (const String &name, GpuConstantType constType, size_t arraySize=1) | 
|  | Add a new constant definition to this shared set of parameters. 
 | 
|  | 
| size_t | calculateSize (void) const | 
|  | Calculate the expected size of the shared parameter buffer based on constant definition data types. 
 | 
|  | 
| const GpuConstantDefinition & | getConstantDefinition (const String &name) const | 
|  | Get a specific GpuConstantDefinition for a named parameter. 
 | 
|  | 
| GpuConstantDefinitionIterator | getConstantDefinitionIterator (void) const | 
|  | Gets an iterator over the named GpuConstantDefinition instances as defined by the user. 
 | 
|  | 
| const GpuNamedConstants & | getConstantDefinitions () const | 
|  | Get the full list of GpuConstantDefinition instances. 
 | 
|  | 
| const DoubleConstantList & | getDoubleConstantList () const | 
|  | Get a reference to the list of double constants. 
 | 
|  | 
| double * | getDoublePointer (size_t pos) | 
|  | Get a pointer to the 'nth' item in the double buffer. 
 | 
|  | 
| const double * | getDoublePointer (size_t pos) const | 
|  | Get a pointer to the 'nth' item in the double buffer. 
 | 
|  | 
| const FloatConstantList & | getFloatConstantList () const | 
|  | Get a reference to the list of float constants. 
 | 
|  | 
| float * | getFloatPointer (size_t pos) | 
|  | Get a pointer to the 'nth' item in the float buffer. 
 | 
|  | 
| const float * | getFloatPointer (size_t pos) const | 
|  | Get a pointer to the 'nth' item in the float buffer. 
 | 
|  | 
| size_t | getFrameLastUpdated () const | 
|  | Get the frame in which this shared parameter set was last updated. 
 | 
|  | 
| const IntConstantList & | getIntConstantList () const | 
|  | Get a reference to the list of int constants. 
 | 
|  | 
| int * | getIntPointer (size_t pos) | 
|  | Get a pointer to the 'nth' item in the int buffer. 
 | 
|  | 
| const int * | getIntPointer (size_t pos) const | 
|  | Get a pointer to the 'nth' item in the int buffer. 
 | 
|  | 
| const String & | getName () | 
|  | Get the name of this shared parameter set. 
 | 
|  | 
| const UnsignedIntConstantList & | getUnsignedIntConstantList () const | 
|  | Get a reference to the list of uint constants. 
 | 
|  | 
| uint * | getUnsignedIntPointer (size_t pos) | 
|  | Get a pointer to the 'nth' item in the uint buffer. 
 | 
|  | 
| const uint * | getUnsignedIntPointer (size_t pos) const | 
|  | Get a pointer to the 'nth' item in the uint buffer. 
 | 
|  | 
| unsigned long | getVersion () const | 
|  | Get the version number of this shared parameter set, can be used to identify when changes have occurred. 
 | 
|  | 
| bool | isDirty () const | 
|  | True if this parameter set is dirty (values have been modified, but the render system has not updated them yet). 
 | 
|  | 
| void | operator delete (void *ptr) | 
|  | 
| void | operator delete (void *ptr, const char *, int, const char *) | 
|  | 
| void | operator delete (void *ptr, void *) | 
|  | 
| void | operator delete[] (void *ptr) | 
|  | 
| void | operator delete[] (void *ptr, const char *, int, const char *) | 
|  | 
| void * | operator new (size_t sz) | 
|  | 
| void * | operator new (size_t sz, const char *file, int line, const char *func) | 
|  | operator new, with debug line info 
 | 
|  | 
| void * | operator new (size_t sz, void *ptr) | 
|  | placement operator new 
 | 
|  | 
| void * | operator new[] (size_t sz) | 
|  | 
| void * | operator new[] (size_t sz, const char *file, int line, const char *func) | 
|  | array operator new, with debug line info 
 | 
|  | 
| void | removeAllConstantDefinitions () | 
|  | Remove a constant definition from this shared set of parameters. 
 | 
|  | 
| void | removeConstantDefinition (const String &name) | 
|  | Remove a constant definition from this shared set of parameters. 
 | 
|  | 
| void | setNamedConstant (const String &name, const ColourValue &colour) | 
|  | Sets a ColourValue parameter to the program. 
 | 
|  | 
| void | setNamedConstant (const String &name, const double *val, size_t count) | 
|  | 
| void | setNamedConstant (const String &name, const float *val, size_t count) | 
|  | 
| void | setNamedConstant (const String &name, const int *val, size_t count) | 
|  | 
| void | setNamedConstant (const String &name, const Matrix4 &m) | 
|  | Sets a Matrix4 parameter to the program. 
 | 
|  | 
| void | setNamedConstant (const String &name, const Matrix4 *m, size_t numEntries) | 
|  | Sets a list of Matrix4 parameters to the program. 
 | 
|  | 
| void | setNamedConstant (const String &name, const uint *val, size_t count) | 
|  | 
| void | setNamedConstant (const String &name, const Vector2 &vec) | 
|  | Sets a Vector2 parameter to the program. 
 | 
|  | 
| void | setNamedConstant (const String &name, const Vector3 &vec) | 
|  | Sets a Vector3 parameter to the program. 
 | 
|  | 
| void | setNamedConstant (const String &name, const Vector4 &vec) | 
|  | Sets a Vector4 parameter to the program. 
 | 
|  | 
| void | setNamedConstant (const String &name, int val) | 
|  | Sets a single value constant integer parameter to the program. 
 | 
|  | 
| void | setNamedConstant (const String &name, Real val) | 
|  | Sets a single value constant floating-point parameter to the program. 
 | 
|  | 
| void | setNamedConstant (const String &name, uint val) | 
|  | Sets a single value constant unsigned integer parameter to the program. 
 | 
|  | 
Definition of container that holds the current bool constants. 
- Note
- Not necessarily in direct index order to constant indexes, logical to physical index map is derived from GpuProgram A group of manually updated parameters that are shared between many parameter sets. 
- Parameters in a shared set are matched up with instances in a GpuProgramParameters structure by matching names. It is up to you to define the named parameters that a shared set contains, and ensuring the definition matches. 
- Note
- Shared parameter sets can be named, and looked up using the GpuProgramManager.