|
| GpuSharedParameters (const String &name) |
|
virtual | ~GpuSharedParameters () |
|
const Any & | _getRenderSystemData () const |
| Internal method that the RenderSystem might use to store optional data. More...
|
|
void | _markClean () |
| Mark the shared set as being clean (values successfully updated by the render system). More...
|
|
void | _markDirty () |
| Mark the shared set as being dirty (values modified and not yet updated in render system). More...
|
|
void | _setRenderSystemData (const Any &data) const |
| Internal method that the RenderSystem might use to store optional data. More...
|
|
void | addConstantDefinition (const String &name, GpuConstantType constType, size_t arraySize=1) |
| Add a new constant definition to this shared set of parameters. More...
|
|
size_t | calculateSize (void) const |
| Calculate the expected size of the shared parameter buffer based on constant definition data types. More...
|
|
const GpuConstantDefinition & | getConstantDefinition (const String &name) const |
| Get a specific GpuConstantDefinition for a named parameter. More...
|
|
GpuConstantDefinitionIterator | getConstantDefinitionIterator (void) const |
| Gets an iterator over the named GpuConstantDefinition instances as defined by the user. More...
|
|
const GpuNamedConstants & | getConstantDefinitions () const |
| Get the full list of GpuConstantDefinition instances. More...
|
|
const DoubleConstantList & | getDoubleConstantList () const |
| Get a reference to the list of double constants. More...
|
|
double * | getDoublePointer (size_t pos) |
| Get a pointer to the 'nth' item in the double buffer. More...
|
|
const double * | getDoublePointer (size_t pos) const |
| Get a pointer to the 'nth' item in the double buffer. More...
|
|
const FloatConstantList & | getFloatConstantList () const |
| Get a reference to the list of float constants. More...
|
|
float * | getFloatPointer (size_t pos) |
|
const float * | getFloatPointer (size_t pos) const |
| Get a pointer to the 'nth' item in the float buffer. More...
|
|
size_t | getFrameLastUpdated () const |
| Get the frame in which this shared parameter set was last updated. More...
|
|
const IntConstantList & | getIntConstantList () const |
| Get a reference to the list of int constants. More...
|
|
int * | getIntPointer (size_t pos) |
| Get a pointer to the 'nth' item in the int buffer. More...
|
|
const int * | getIntPointer (size_t pos) const |
| Get a pointer to the 'nth' item in the int buffer. More...
|
|
const String & | getName () |
| Get the name of this shared parameter set. More...
|
|
const UnsignedIntConstantList & | getUnsignedIntConstantList () const |
| Get a reference to the list of uint constants. More...
|
|
uint * | getUnsignedIntPointer (size_t pos) |
| Get a pointer to the 'nth' item in the uint buffer. More...
|
|
const uint * | getUnsignedIntPointer (size_t pos) const |
| Get a pointer to the 'nth' item in the uint buffer. More...
|
|
unsigned long | getVersion () const |
| Get the version number of this shared parameter set, can be used to identify when changes have occurred. More...
|
|
bool | isDirty () const |
| True if this parameter set is dirty (values have been modified, but the render system has not updated them yet). 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 | removeAllConstantDefinitions () |
| Remove a constant definition from this shared set of parameters. More...
|
|
void | removeConstantDefinition (const String &name) |
| Remove a constant definition from this shared set of parameters. More...
|
|
void | setNamedConstant (const String &name, Real val) |
| Sets a single value constant floating-point parameter to the program. More...
|
|
void | setNamedConstant (const String &name, int val) |
| Sets a single value constant integer parameter to the program. More...
|
|
void | setNamedConstant (const String &name, uint val) |
| Sets a single value constant unsigned integer parameter to the program. More...
|
|
void | setNamedConstant (const String &name, const Vector4 &vec) |
|
void | setNamedConstant (const String &name, const Vector3 &vec) |
| Sets a Vector3 parameter to the program. More...
|
|
void | setNamedConstant (const String &name, const Vector2 &vec) |
| Sets a Vector2 parameter to the program. More...
|
|
void | setNamedConstant (const String &name, const Matrix4 &m) |
| Sets a Matrix4 parameter to the program. More...
|
|
void | setNamedConstant (const String &name, const Matrix4 *m, size_t numEntries) |
| Sets a list of Matrix4 parameters to the program. More...
|
|
void | setNamedConstant (const String &name, const float *val, size_t count) |
|
void | setNamedConstant (const String &name, const double *val, size_t count) |
|
void | setNamedConstant (const String &name, const ColourValue &colour) |
| Sets a ColourValue parameter to the program. More...
|
|
void | setNamedConstant (const String &name, const int *val, size_t count) |
|
void | setNamedConstant (const String &name, const uint *val, size_t count) |
|
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 GpuProgramA 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.