#include <OgreGpuProgram.h>
Public Types | |
typedef std::vector< AutoConstantEntry > | AutoConstantList |
typedef std::vector< float > | FloatConstantList |
Definition of container that holds the current float constants. | |
typedef std::vector< int > | IntConstantList |
Definition of container that holds the current float constants. | |
typedef ConstVectorIterator< AutoConstantList > | AutoConstantIterator |
enum | AutoConstantType { ACT_WORLD_MATRIX, ACT_INVERSE_WORLD_MATRIX, ACT_TRANSPOSE_WORLD_MATRIX, ACT_INVERSE_TRANSPOSE_WORLD_MATRIX, ACT_WORLD_MATRIX_ARRAY_3x4, ACT_WORLD_MATRIX_ARRAY, ACT_VIEW_MATRIX, ACT_INVERSE_VIEW_MATRIX, ACT_TRANSPOSE_VIEW_MATRIX, ACT_INVERSE_TRANSPOSE_VIEW_MATRIX, ACT_PROJECTION_MATRIX, ACT_INVERSE_PROJECTION_MATRIX, ACT_TRANSPOSE_PROJECTION_MATRIX, ACT_INVERSE_TRANSPOSE_PROJECTION_MATRIX, ACT_VIEWPROJ_MATRIX, ACT_INVERSE_VIEWPROJ_MATRIX, ACT_TRANSPOSE_VIEWPROJ_MATRIX, ACT_INVERSE_TRANSPOSE_VIEWPROJ_MATRIX, ACT_WORLDVIEW_MATRIX, ACT_INVERSE_WORLDVIEW_MATRIX, ACT_TRANSPOSE_WORLDVIEW_MATRIX, ACT_INVERSE_TRANSPOSE_WORLDVIEW_MATRIX, ACT_WORLDVIEWPROJ_MATRIX, ACT_INVERSE_WORLDVIEWPROJ_MATRIX, ACT_TRANSPOSE_WORLDVIEWPROJ_MATRIX, ACT_INVERSE_TRANSPOSE_WORLDVIEWPROJ_MATRIX, ACT_RENDER_TARGET_FLIPPING, ACT_FOG_COLOUR, ACT_FOG_PARAMS, ACT_SURFACE_AMBIENT_COLOUR, ACT_SURFACE_DIFFUSE_COLOUR, ACT_SURFACE_SPECULAR_COLOUR, ACT_SURFACE_EMISSIVE_COLOUR, ACT_SURFACE_SHININESS, ACT_AMBIENT_LIGHT_COLOUR, ACT_LIGHT_DIFFUSE_COLOUR, ACT_LIGHT_SPECULAR_COLOUR, ACT_LIGHT_ATTENUATION, ACT_SPOTLIGHT_PARAMS, ACT_LIGHT_POSITION, ACT_LIGHT_POSITION_OBJECT_SPACE, ACT_LIGHT_POSITION_VIEW_SPACE, ACT_LIGHT_DIRECTION, ACT_LIGHT_DIRECTION_OBJECT_SPACE, ACT_LIGHT_DIRECTION_VIEW_SPACE, ACT_LIGHT_DISTANCE_OBJECT_SPACE, ACT_LIGHT_POWER_SCALE, ACT_LIGHT_DIFFUSE_COLOUR_ARRAY, ACT_LIGHT_SPECULAR_COLOUR_ARRAY, ACT_LIGHT_ATTENUATION_ARRAY, ACT_LIGHT_POSITION_ARRAY, ACT_LIGHT_POSITION_OBJECT_SPACE_ARRAY, ACT_LIGHT_POSITION_VIEW_SPACE_ARRAY, ACT_LIGHT_DIRECTION_ARRAY, ACT_LIGHT_DIRECTION_OBJECT_SPACE_ARRAY, ACT_LIGHT_DIRECTION_VIEW_SPACE_ARRAY, ACT_LIGHT_DISTANCE_OBJECT_SPACE_ARRAY, ACT_LIGHT_POWER_SCALE_ARRAY, ACT_SPOTLIGHT_PARAMS_ARRAY, ACT_DERIVED_AMBIENT_LIGHT_COLOUR, ACT_DERIVED_SCENE_COLOUR, ACT_DERIVED_LIGHT_DIFFUSE_COLOUR, ACT_DERIVED_LIGHT_SPECULAR_COLOUR, ACT_DERIVED_LIGHT_DIFFUSE_COLOUR_ARRAY, ACT_DERIVED_LIGHT_SPECULAR_COLOUR_ARRAY, ACT_SHADOW_EXTRUSION_DISTANCE, ACT_CAMERA_POSITION, ACT_CAMERA_POSITION_OBJECT_SPACE, ACT_TEXTURE_VIEWPROJ_MATRIX, ACT_CUSTOM, ACT_TIME, ACT_TIME_0_X, ACT_COSTIME_0_X, ACT_SINTIME_0_X, ACT_TANTIME_0_X, ACT_TIME_0_X_PACKED, ACT_TIME_0_1, ACT_COSTIME_0_1, ACT_SINTIME_0_1, ACT_TANTIME_0_1, ACT_TIME_0_1_PACKED, ACT_TIME_0_2PI, ACT_COSTIME_0_2PI, ACT_SINTIME_0_2PI, ACT_TANTIME_0_2PI, ACT_TIME_0_2PI_PACKED, ACT_FRAME_TIME, ACT_FPS, ACT_VIEWPORT_WIDTH, ACT_VIEWPORT_HEIGHT, ACT_INVERSE_VIEWPORT_WIDTH, ACT_INVERSE_VIEWPORT_HEIGHT, ACT_VIEWPORT_SIZE, ACT_VIEW_DIRECTION, ACT_VIEW_SIDE_VECTOR, ACT_VIEW_UP_VECTOR, ACT_FOV, ACT_NEAR_CLIP_DISTANCE, ACT_FAR_CLIP_DISTANCE, ACT_PASS_NUMBER, ACT_PASS_ITERATION_NUMBER, ACT_ANIMATION_PARAMETRIC, ACT_TEXEL_OFFSETS, ACT_SCENE_DEPTH_RANGE, ACT_SHADOW_SCENE_DEPTH_RANGE, ACT_TEXTURE_SIZE, ACT_INVERSE_TEXTURE_SIZE, ACT_PACKED_TEXTURE_SIZE } |
Defines the types of automatically updated values that may be bound to GpuProgram parameters, or used to modify parameters on a per-object basis. More... | |
enum | ACDataType { ACDT_NONE, ACDT_INT, ACDT_REAL } |
Defines the type of the extra data item used by the auto constant. More... | |
enum | ElementType { ET_INT, ET_REAL } |
Defines the base element type of the auto constant. More... | |
Public Member Functions | |
GpuProgramParameters () | |
~GpuProgramParameters () | |
GpuProgramParameters (const GpuProgramParameters &oth) | |
Copy constructor. | |
GpuProgramParameters & | operator= (const GpuProgramParameters &oth) |
Operator = overload. | |
void | _setNamedConstants (const GpuNamedConstants *constantmap) |
Internal method for providing a link to a name->definition map for parameters. | |
void | _setLogicalIndexes (GpuLogicalBufferStruct *floatIndexMap, GpuLogicalBufferStruct *intIndexMap) |
Internal method for providing a link to a logical index->physical index map for parameters. | |
bool | hasNamedParameters () const |
Does this parameter set include named parameters? | |
bool | hasLogicalIndexedParameters () const |
Does this parameter set include logically indexed parameters? | |
void | setConstant (size_t index, const Vector4 &vec) |
Sets a 4-element floating-point parameter to the program. | |
void | setConstant (size_t index, Real val) |
Sets a single floating-point parameter to the program. | |
void | setConstant (size_t index, const Vector3 &vec) |
Sets a 4-element floating-point parameter to the program via Vector3. | |
void | setConstant (size_t index, const Matrix4 &m) |
Sets a Matrix4 parameter to the program. | |
void | setConstant (size_t index, const Matrix4 *m, size_t numEntries) |
Sets a list of Matrix4 parameters to the program. | |
void | setConstant (size_t index, const float *val, size_t count) |
Sets a multiple value constant floating-point parameter to the program. | |
void | setConstant (size_t index, const double *val, size_t count) |
Sets a multiple value constant floating-point parameter to the program. | |
void | setConstant (size_t index, const ColourValue &colour) |
Sets a ColourValue parameter to the program. | |
void | setConstant (size_t index, const int *val, size_t count) |
Sets a multiple value constant integer parameter to the program. | |
void | _writeRawConstants (size_t physicalIndex, const float *val, size_t count) |
Write a series of floating point values into the underlying float constant buffer at the given physical index. | |
void | _writeRawConstants (size_t physicalIndex, const double *val, size_t count) |
Write a series of floating point values into the underlying float constant buffer at the given physical index. | |
void | _writeRawConstants (size_t physicalIndex, const int *val, size_t count) |
Write a series of integer values into the underlying integer constant buffer at the given physical index. | |
void | _readRawConstants (size_t physicalIndex, size_t count, float *dest) |
Read a series of floating point values from the underlying float constant buffer at the given physical index. | |
void | _readRawConstants (size_t physicalIndex, size_t count, int *dest) |
Read a series of integer values from the underlying integer constant buffer at the given physical index. | |
void | _writeRawConstant (size_t physicalIndex, const Vector4 &vec, size_t count=4) |
Write a 4-element floating-point parameter to the program directly to the underlying constants buffer. | |
void | _writeRawConstant (size_t physicalIndex, Real val) |
Write a single floating-point parameter to the program. | |
void | _writeRawConstant (size_t physicalIndex, int val) |
Write a single integer parameter to the program. | |
void | _writeRawConstant (size_t physicalIndex, const Vector3 &vec) |
Write a 3-element floating-point parameter to the program via Vector3. | |
void | _writeRawConstant (size_t physicalIndex, const Matrix4 &m) |
Write a Matrix4 parameter to the program. | |
void | _writeRawConstant (size_t physicalIndex, const Matrix4 *m, size_t numEntries) |
Write a list of Matrix4 parameters to the program. | |
void | _writeRawConstant (size_t physicalIndex, const ColourValue &colour, size_t count=4) |
Write a ColourValue parameter to the program. | |
GpuConstantDefinitionIterator | getConstantDefinitionIterator (void) const |
Gets an iterator over the named GpuConstantDefinition instances as defined by the program for which these parameters exist. | |
const GpuConstantDefinition & | getConstantDefinition (const String &name) const |
Get a specific GpuConstantDefinition for a named parameter. | |
const GpuNamedConstants & | getConstantDefinitions () const |
Get the full list of GpuConstantDefinition instances. | |
const GpuLogicalBufferStruct * | getFloatLogicalBufferStruct () const |
Get the current list of mappings from low-level logical param indexes to physical buffer locations in the float buffer. | |
size_t | getFloatLogicalIndexForPhysicalIndex (size_t physicalIndex) |
Retrieves the logical index relating to a physical index in the float buffer, for programs which support that (low-level programs and high-level programs which use logical parameter indexes). | |
size_t | getIntLogicalIndexForPhysicalIndex (size_t physicalIndex) |
Retrieves the logical index relating to a physical index in the int buffer, for programs which support that (low-level programs and high-level programs which use logical parameter indexes). | |
const GpuLogicalBufferStruct * | getIntLogicalBufferStruct () const |
Get the current list of mappings from low-level logical param indexes to physical buffer locations in the integer 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. | |
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 AutoConstantList & | getAutoConstantList () const |
Get a reference to the list of auto constant bindings. | |
void | setAutoConstant (size_t index, AutoConstantType acType, size_t extraInfo=0) |
Sets up a constant which will automatically be updated by the system. | |
void | setAutoConstantReal (size_t index, AutoConstantType acType, Real rData) |
void | _setRawAutoConstant (size_t physicalIndex, AutoConstantType acType, size_t extraInfo, size_t elementSize=4) |
As setAutoConstant, but sets up the auto constant directly against a physical buffer index. | |
void | _setRawAutoConstantReal (size_t physicalIndex, AutoConstantType acType, Real rData, size_t elementSize=4) |
As setAutoConstantReal, but sets up the auto constant directly against a physical buffer index. | |
void | clearAutoConstant (size_t index) |
Unbind an auto constant so that the constant is manually controlled again. | |
void | setConstantFromTime (size_t index, Real factor) |
Sets a named parameter up to track a derivation of the current time. | |
void | clearAutoConstants (void) |
Clears all the existing automatic constants. | |
AutoConstantIterator | getAutoConstantIterator (void) const |
Gets an iterator over the automatic constant bindings currently in place. | |
size_t | getAutoConstantCount (void) const |
Gets the number of int constants that have been set. | |
AutoConstantEntry * | getAutoConstantEntry (const size_t index) |
Gets a specific Auto Constant entry if index is in valid range otherwise returns a NULL. | |
bool | hasAutoConstants (void) const |
Returns true if this instance has any automatic constants. | |
const AutoConstantEntry * | findFloatAutoConstantEntry (size_t logicalIndex) |
Finds an auto constant that's affecting a given logical parameter index for floating-point values. | |
const AutoConstantEntry * | findIntAutoConstantEntry (size_t logicalIndex) |
Finds an auto constant that's affecting a given logical parameter index for integer values. | |
const AutoConstantEntry * | findAutoConstantEntry (const String ¶mName) |
Finds an auto constant that's affecting a given named parameter index. | |
const AutoConstantEntry * | _findRawAutoConstantEntryFloat (size_t physicalIndex) |
Finds an auto constant that's affecting a given physical position in the floating-point buffer. | |
const AutoConstantEntry * | _findRawAutoConstantEntryInt (size_t physicalIndex) |
Finds an auto constant that's affecting a given physical position in the integer buffer. | |
void | _updateAutoParamsNoLights (const AutoParamDataSource &source) |
Updates the automatic parameters (except lights) based on the details provided. | |
void | _updateAutoParamsLightsOnly (const AutoParamDataSource &source) |
Updates the automatic parameters for lights based on the details provided. | |
void | setIgnoreMissingParams (bool state) |
Tells the program whether to ignore missing parameters or not. | |
void | setNamedConstant (const String &name, Real val) |
Sets a single value constant floating-point 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, const Vector4 &vec) |
Sets a Vector4 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 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 float *val, size_t count, size_t multiple=4) |
Sets a multiple value constant floating-point parameter to the program. | |
void | setNamedConstant (const String &name, const double *val, size_t count, size_t multiple=4) |
Sets a multiple value constant floating-point parameter to the program. | |
void | setNamedConstant (const String &name, const ColourValue &colour) |
Sets a ColourValue parameter to the program. | |
void | setNamedConstant (const String &name, const int *val, size_t count, size_t multiple=4) |
Sets a multiple value constant floating-point parameter to the program. | |
void | setNamedAutoConstant (const String &name, AutoConstantType acType, size_t extraInfo=0) |
Sets up a constant which will automatically be updated by the system. | |
void | setNamedAutoConstantReal (const String &name, AutoConstantType acType, Real rData) |
void | setNamedConstantFromTime (const String &name, Real factor) |
Sets a named parameter up to track a derivation of the current time. | |
void | clearNamedAutoConstant (const String &name) |
Unbind an auto constant so that the constant is manually controlled again. | |
const GpuConstantDefinition * | _findNamedConstantDefinition (const String &name, bool throwExceptionIfMissing=false) const |
Find a constant definition for a named parameter. | |
size_t | _getFloatConstantPhysicalIndex (size_t logicalIndex, size_t requestedSize) |
Gets the physical buffer index associated with a logical float constant index. | |
size_t | _getIntConstantPhysicalIndex (size_t logicalIndex, size_t requestedSize) |
Gets the physical buffer index associated with a logical int constant index. | |
void | setTransposeMatrices (bool val) |
Sets whether or not we need to transpose the matrices passed in from the rest of OGRE. | |
bool | getTransposeMatrices (void) const |
Gets whether or not matrices are to be transposed when set. | |
void | copyConstantsFrom (const GpuProgramParameters &source) |
Copies the values of all constants (including auto constants) from another GpuProgramParameters object. | |
void | incPassIterationNumber (void) |
increments the multipass number entry by 1 if it exists | |
bool | hasPassIterationNumber () const |
Does this parameters object have a pass iteration number constant? | |
size_t | getPassIterationNumberIndex () const |
Get the physical buffer index of the pass iteration number constant. | |
Static Public Member Functions | |
static const AutoConstantDefinition * | getAutoConstantDefinition (const String &name) |
gets the auto constant definition associated with name if found else returns NULL | |
static const AutoConstantDefinition * | getAutoConstantDefinition (const size_t idx) |
gets the auto constant definition using an index into the auto constant definition array. | |
static size_t | getNumAutoConstantDefinitions (void) |
Returns the number of auto constant definitions. | |
Protected Attributes | |
FloatConstantList | mFloatConstants |
Packed list of floating-point constants (physical indexing). | |
IntConstantList | mIntConstants |
Packed list of integer constants (physical indexing). | |
GpuLogicalBufferStruct * | mFloatLogicalToPhysical |
Logical index to physical index map - for low-level programs or high-level programs which pass params this way. | |
GpuLogicalBufferStruct * | mIntLogicalToPhysical |
Logical index to physical index map - for low-level programs or high-level programs which pass params this way. | |
const GpuNamedConstants * | mNamedConstants |
Mapping from parameter names to def - high-level programs are expected to populate this. | |
AutoConstantList | mAutoConstants |
List of automatically updated parameters. | |
bool | mTransposeMatrices |
Do we need to transpose matrices? | |
bool | mIgnoreMissingParams |
flag to indicate if names not found will be ignored | |
size_t | mActivePassIterationIndex |
physical index for active pass iteration parameter real constant entry; | |
Static Protected Attributes | |
static AutoConstantDefinition | AutoConstantDictionary [] |
Classes | |
struct | AutoConstantDefinition |
Structure defining an auto constant that's available for use in a parameters object. More... | |
class | AutoConstantEntry |
Structure recording the use of an automatic parameter. More... |
Definition at line 224 of file OgreGpuProgram.h.
|
Definition at line 1018 of file OgreGpuProgram.h. |
|
Definition at line 682 of file OgreGpuProgram.h. |
|
Definition of container that holds the current float constants.
Definition at line 688 of file OgreGpuProgram.h. |
|
Definition of container that holds the current float constants.
Definition at line 693 of file OgreGpuProgram.h. |
|
Defines the type of the extra data item used by the auto constant.
Definition at line 615 of file OgreGpuProgram.h. |
|
Defines the types of automatically updated values that may be bound to GpuProgram parameters, or used to modify parameters on a per-object basis.
Definition at line 230 of file OgreGpuProgram.h. |
|
Defines the base element type of the auto constant.
Definition at line 626 of file OgreGpuProgram.h. |
|
|
|
Definition at line 720 of file OgreGpuProgram.h. |
|
Copy constructor.
|
|
Find a constant definition for a named parameter.
|
|
Finds an auto constant that's affecting a given physical position in the floating-point buffer.
|
|
Finds an auto constant that's affecting a given physical position in the integer buffer.
|
|
Gets the physical buffer index associated with a logical float constant index.
|
|
Gets the physical buffer index associated with a logical int constant index.
|
|
Read a series of integer values from the underlying integer constant buffer at the given physical index.
|
|
Read a series of floating point values from the underlying float constant buffer at the given physical index.
|
|
Internal method for providing a link to a logical index->physical index map for parameters.
|
|
Internal method for providing a link to a name->definition map for parameters.
|
|
As setAutoConstant, but sets up the auto constant directly against a physical buffer index.
|
|
As setAutoConstantReal, but sets up the auto constant directly against a physical buffer index.
|
|
Updates the automatic parameters for lights based on the details provided.
|
|
Updates the automatic parameters (except lights) based on the details provided.
|
|
Write a ColourValue parameter to the program.
|
|
Write a list of Matrix4 parameters to the program.
|
|
Write a Matrix4 parameter to the program.
|
|
Write a 3-element floating-point parameter to the program via Vector3.
|
|
Write a single integer parameter to the program.
|
|
Write a single floating-point parameter to the program.
|
|
Write a 4-element floating-point parameter to the program directly to the underlying constants buffer.
|
|
Write a series of integer values into the underlying integer constant buffer at the given physical index.
|
|
Write a series of floating point values into the underlying float constant buffer at the given physical index.
|
|
Write a series of floating point values into the underlying float constant buffer at the given physical index.
|
|
Unbind an auto constant so that the constant is manually controlled again.
|
|
Clears all the existing automatic constants.
|
|
Unbind an auto constant so that the constant is manually controlled again.
|
|
Copies the values of all constants (including auto constants) from another GpuProgramParameters object.
|
|
Finds an auto constant that's affecting a given named parameter index.
|
|
Finds an auto constant that's affecting a given logical parameter index for floating-point values.
|
|
Finds an auto constant that's affecting a given logical parameter index for integer values.
|
|
Gets the number of int constants that have been set.
Definition at line 1022 of file OgreGpuProgram.h. |
|
gets the auto constant definition using an index into the auto constant definition array. If the index is out of bounds then NULL is returned;
|
|
gets the auto constant definition associated with name if found else returns NULL
|
|
Gets a specific Auto Constant entry if index is in valid range otherwise returns a NULL. index which entry is to be retrieved |
|
Gets an iterator over the automatic constant bindings currently in place.
|
|
Get a reference to the list of auto constant bindings.
Definition at line 977 of file OgreGpuProgram.h. |
|
Get a specific GpuConstantDefinition for a named parameter.
|
|
Gets an iterator over the named GpuConstantDefinition instances as defined by the program for which these parameters exist.
|
|
Get the full list of GpuConstantDefinition instances.
|
|
Get a reference to the list of float constants.
Definition at line 965 of file OgreGpuProgram.h. |
|
Get the current list of mappings from low-level logical param indexes to physical buffer locations in the float buffer.
Definition at line 943 of file OgreGpuProgram.h. |
|
Retrieves the logical index relating to a physical index in the float buffer, for programs which support that (low-level programs and high-level programs which use logical parameter indexes).
|
|
Get a pointer to the 'nth' item in the float buffer.
Definition at line 969 of file OgreGpuProgram.h. |
|
Get a pointer to the 'nth' item in the float buffer.
Definition at line 967 of file OgreGpuProgram.h. |
|
Get a reference to the list of int constants.
Definition at line 971 of file OgreGpuProgram.h. |
|
Get the current list of mappings from low-level logical param indexes to physical buffer locations in the integer buffer.
Definition at line 963 of file OgreGpuProgram.h. |
|
Retrieves the logical index relating to a physical index in the int buffer, for programs which support that (low-level programs and high-level programs which use logical parameter indexes).
|
|
Get a pointer to the 'nth' item in the int buffer.
Definition at line 975 of file OgreGpuProgram.h. |
|
Get a pointer to the 'nth' item in the int buffer.
Definition at line 973 of file OgreGpuProgram.h. |
|
Returns the number of auto constant definitions.
|
|
Get the physical buffer index of the pass iteration number constant.
Definition at line 1287 of file OgreGpuProgram.h. |
|
Gets whether or not matrices are to be transposed when set.
Definition at line 1259 of file OgreGpuProgram.h. |
|
Returns true if this instance has any automatic constants.
Definition at line 1029 of file OgreGpuProgram.h. |
|
Does this parameter set include logically indexed parameters?
Definition at line 742 of file OgreGpuProgram.h. |
|
Does this parameter set include named parameters?
Definition at line 736 of file OgreGpuProgram.h. |
|
Does this parameters object have a pass iteration number constant?
Definition at line 1284 of file OgreGpuProgram.h. |
|
increments the multipass number entry by 1 if it exists
|
|
Operator = overload.
|
|
Sets up a constant which will automatically be updated by the system.
|
|
|
|
Sets a multiple value constant integer parameter to the program.
|
|
Sets a ColourValue parameter to the program.
|
|
Sets a multiple value constant floating-point parameter to the program.
|
|
Sets a multiple value constant floating-point parameter to the program.
|
|
Sets a list of Matrix4 parameters to the program.
|
|
Sets a Matrix4 parameter to the program.
|
|
Sets a 4-element floating-point parameter to the program via Vector3.
|
|
Sets a single floating-point parameter to the program.
|
|
Sets a 4-element floating-point parameter to the program.
|
|
Sets a named parameter up to track a derivation of the current time.
|
|
Tells the program whether to ignore missing parameters or not.
Definition at line 1060 of file OgreGpuProgram.h. |
|
Sets up a constant which will automatically be updated by the system.
|
|
|
|
Sets a multiple value constant floating-point parameter to the program.
|
|
Sets a ColourValue parameter to the program.
|
|
Sets a multiple value constant floating-point parameter to the program.
|
|
Sets a multiple value constant floating-point parameter to the program.
|
|
Sets a list of Matrix4 parameters to the program.
|
|
Sets a Matrix4 parameter to the program.
|
|
Sets a Vector3 parameter to the program.
|
|
Sets a Vector4 parameter to the program.
|
|
Sets a single value constant integer parameter to the program.
|
|
Sets a single value constant floating-point parameter to the program.
|
|
Sets a named parameter up to track a derivation of the current time.
|
|
Sets whether or not we need to transpose the matrices passed in from the rest of OGRE.
Definition at line 1257 of file OgreGpuProgram.h. |
|
Definition at line 696 of file OgreGpuProgram.h. |
|
physical index for active pass iteration parameter real constant entry;
Definition at line 716 of file OgreGpuProgram.h. |
|
List of automatically updated parameters.
Definition at line 710 of file OgreGpuProgram.h. |
|
Packed list of floating-point constants (physical indexing).
Definition at line 698 of file OgreGpuProgram.h. |
|
Logical index to physical index map - for low-level programs or high-level programs which pass params this way.
Definition at line 703 of file OgreGpuProgram.h. |
|
flag to indicate if names not found will be ignored
Definition at line 714 of file OgreGpuProgram.h. |
|
Packed list of integer constants (physical indexing).
Definition at line 700 of file OgreGpuProgram.h. |
|
Logical index to physical index map - for low-level programs or high-level programs which pass params this way.
Definition at line 706 of file OgreGpuProgram.h. |
|
Mapping from parameter names to def - high-level programs are expected to populate this.
Definition at line 708 of file OgreGpuProgram.h. |
|
Do we need to transpose matrices?
Definition at line 712 of file OgreGpuProgram.h. |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Thu Dec 27 15:19:49 2007