Classes | Namespaces | Typedefs | Enumerations
OgreGpuProgramParams.h File Reference
#include "OgrePrerequisites.h"
#include "OgreSharedPtr.h"
#include "OgreIteratorWrappers.h"
#include "OgreSerializer.h"
#include "OgreRenderOperation.h"
#include "OgreAny.h"
#include "Threading/OgreThreadHeaders.h"
#include "OgreHeaderPrefix.h"
#include "OgreHeaderSuffix.h"

Go to the source code of this file.

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
 A group of manually updated parameters that are shared between many parameter sets. More...
 
class  Ogre::GpuSharedParametersUsage
 This class records the usage of a set of shared parameters in a concrete set of GpuProgramParameters. More...
 
struct  Ogre::GpuSharedParametersUsage::CopyDataEntry
 

Namespaces

 Ogre
 

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 SharedPtr< GpuLogicalBufferStruct > Ogre::GpuLogicalBufferStructPtr
 
typedef map< size_t, GpuLogicalIndexUse >::type Ogre::GpuLogicalIndexUseMap
 
typedef SharedPtr< GpuNamedConstants > Ogre::GpuNamedConstantsPtr
 
typedef SharedPtr< GpuProgramParameters > Ogre::GpuProgramParametersSharedPtr
 Shared pointer used to hold references to GpuProgramParameters instances. More...
 
typedef SharedPtr< GpuSharedParameters > Ogre::GpuSharedParametersPtr
 Shared pointer used to hold references to GpuProgramParameters instances. More...
 
typedef vector< int >::type Ogre::IntConstantList
 Definition of container that holds the current float constants. More...
 

Enumerations

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_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...
 

Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Apr 13 2021 08:53:15