OGRE  1.10.12
Object-Oriented Graphics Rendering Engine
OgreGpuProgramParams.h File Reference

Classes

struct  Ogre::GpuConstantDefinition
 Information about predefined program constants. More...
 
struct  Ogre::GpuLogicalBufferStruct
 Container struct to allow params to safely & update shared list of logical buffer assignments. More...
 
struct  Ogre::GpuLogicalIndexUse
 Structure recording the use of a physical buffer by a logical parameter index. More...
 
struct  Ogre::GpuNamedConstants
 Struct collecting together the information for named constants. More...
 
class  Ogre::GpuNamedConstantsSerializer
 Simple class for loading / saving GpuNamedConstants. More...
 
class  Ogre::GpuProgramParameters
 Collects together the program parameters used for a GpuProgram. More...
 
struct  Ogre::GpuProgramParameters::AutoConstantDefinition
 Structure defining an auto constant that's available for use in a parameters object. More...
 
class  Ogre::GpuProgramParameters::AutoConstantEntry
 Structure recording the use of an automatic parameter. More...
 
class  Ogre::GpuSharedParameters
 Definition of container that holds the current bool constants. More...
 
class  Ogre::GpuSharedParametersUsage
 This class records the usage of a set of shared parameters in a concrete set of GpuProgramParameters. More...
 

Namespaces

 Ogre
 

This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/

 

Typedefs

typedef vector< double >::type Ogre::DoubleConstantList
 Definition of container that holds the current double constants. More...
 
typedef vector< float >::type Ogre::FloatConstantList
 Definition of container that holds the current float constants. More...
 
typedef ConstMapIterator< GpuConstantDefinitionMap > Ogre::GpuConstantDefinitionIterator
 
typedef map< String, GpuConstantDefinition >::type Ogre::GpuConstantDefinitionMap
 
typedef map< size_t, GpuLogicalIndexUse >::type Ogre::GpuLogicalIndexUseMap
 
typedef vector< int >::type Ogre::IntConstantList
 Definition of container that holds the current int constants. More...
 
typedef vector< uint >::type Ogre::UnsignedIntConstantList
 Definition of container that holds the current uint constants. More...
 

Enumerations

enum  Ogre::BaseConstantType {
  Ogre::BCT_FLOAT = 1, Ogre::BCT_INT = 2, Ogre::BCT_DOUBLE = 3, Ogre::BCT_UINT = 4,
  Ogre::BCT_BOOL = 5, Ogre::BCT_SAMPLER = 6, Ogre::BCT_SUBROUTINE = 7, Ogre::BCT_UNKNOWN = 99
}
 
enum  Ogre::GpuConstantType {
  Ogre::GCT_FLOAT1 = 1, Ogre::GCT_FLOAT2 = 2, Ogre::GCT_FLOAT3 = 3, Ogre::GCT_FLOAT4 = 4,
  Ogre::GCT_SAMPLER1D = 5, Ogre::GCT_SAMPLER2D = 6, Ogre::GCT_SAMPLER3D = 7, Ogre::GCT_SAMPLERCUBE = 8,
  Ogre::GCT_SAMPLERRECT = 9, Ogre::GCT_SAMPLER1DSHADOW = 10, Ogre::GCT_SAMPLER2DSHADOW = 11, Ogre::GCT_SAMPLER2DARRAY = 12,
  Ogre::GCT_MATRIX_2X2 = 13, Ogre::GCT_MATRIX_2X3 = 14, Ogre::GCT_MATRIX_2X4 = 15, Ogre::GCT_MATRIX_3X2 = 16,
  Ogre::GCT_MATRIX_3X3 = 17, Ogre::GCT_MATRIX_3X4 = 18, Ogre::GCT_MATRIX_4X2 = 19, Ogre::GCT_MATRIX_4X3 = 20,
  Ogre::GCT_MATRIX_4X4 = 21, Ogre::GCT_INT1 = 22, Ogre::GCT_INT2 = 23, Ogre::GCT_INT3 = 24,
  Ogre::GCT_INT4 = 25, Ogre::GCT_SUBROUTINE = 26, Ogre::GCT_DOUBLE1 = 27, Ogre::GCT_DOUBLE2 = 28,
  Ogre::GCT_DOUBLE3 = 29, Ogre::GCT_DOUBLE4 = 30, Ogre::GCT_MATRIX_DOUBLE_2X2 = 31, Ogre::GCT_MATRIX_DOUBLE_2X3 = 32,
  Ogre::GCT_MATRIX_DOUBLE_2X4 = 33, Ogre::GCT_MATRIX_DOUBLE_3X2 = 34, Ogre::GCT_MATRIX_DOUBLE_3X3 = 35, Ogre::GCT_MATRIX_DOUBLE_3X4 = 36,
  Ogre::GCT_MATRIX_DOUBLE_4X2 = 37, Ogre::GCT_MATRIX_DOUBLE_4X3 = 38, Ogre::GCT_MATRIX_DOUBLE_4X4 = 39, Ogre::GCT_UINT1 = 40,
  Ogre::GCT_UINT2 = 41, Ogre::GCT_UINT3 = 42, Ogre::GCT_UINT4 = 43, Ogre::GCT_BOOL1 = 44,
  Ogre::GCT_BOOL2 = 45, Ogre::GCT_BOOL3 = 46, Ogre::GCT_BOOL4 = 47, Ogre::GCT_SAMPLER_WRAPPER1D = 48,
  Ogre::GCT_SAMPLER_WRAPPER2D = 49, Ogre::GCT_SAMPLER_WRAPPER3D = 50, Ogre::GCT_SAMPLER_WRAPPERCUBE = 51, Ogre::GCT_SAMPLER_STATE = 52,
  Ogre::GCT_UNKNOWN = 99
}
 Enumeration of the types of constant we may encounter in programs. More...
 
enum  Ogre::GpuParamVariability {
  Ogre::GPV_GLOBAL = 1, Ogre::GPV_PER_OBJECT = 2, Ogre::GPV_LIGHTS = 4, Ogre::GPV_PASS_ITERATION_NUMBER = 8,
  Ogre::GPV_ALL = 0xFFFF
}
 The variability of a GPU parameter, as derived from auto-params targeting it. More...