OgreGpuProgramParams.h File Reference

#include "OgrePrerequisites.h"
#include "OgreSharedPtr.h"
#include "OgreIteratorWrappers.h"
#include "OgreSerializer.h"
#include "OgreRenderOperation.h"
#include "OgreAny.h"

Go to the source code of this file.

Classes

struct  Ogre::GpuConstantDefinition
 Information about predefined program constants. More...
struct  Ogre::GpuNamedConstants
 Struct collecting together the information for named constants. More...
class  Ogre::GpuNamedConstantsSerializer
 Simple class for loading / saving GpuNamedConstants. More...
struct  Ogre::GpuLogicalIndexUse
 Structure recording the use of a physical buffer by a logical parameter index. More...
struct  Ogre::GpuLogicalBufferStruct
 Container struct to allow params to safely & update shared list of logical buffer assignments. 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
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...

Namespaces

namespace  Ogre

Typedefs

typedef map< String,
GpuConstantDefinition >::type 
Ogre::GpuConstantDefinitionMap
typedef ConstMapIterator
< GpuConstantDefinitionMap > 
Ogre::GpuConstantDefinitionIterator
typedef SharedPtr
< GpuNamedConstants > 
Ogre::GpuNamedConstantsPtr
typedef map< size_t,
GpuLogicalIndexUse >::type 
Ogre::GpuLogicalIndexUseMap
typedef SharedPtr
< GpuLogicalBufferStruct > 
Ogre::GpuLogicalBufferStructPtr
typedef vector< float >::type Ogre::FloatConstantList
 Definition of container that holds the current float constants.
typedef vector< int >::type Ogre::IntConstantList
 Definition of container that holds the current float constants.
typedef SharedPtr
< GpuSharedParameters > 
Ogre::GpuSharedParametersPtr
 Shared pointer used to hold references to GpuProgramParameters instances.
typedef SharedPtr
< GpuProgramParameters > 
Ogre::GpuProgramParametersSharedPtr
 Shared pointer used to hold references to GpuProgramParameters instances.

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_SAMPLER1DSHADOW = 9, Ogre::GCT_SAMPLER2DSHADOW = 10, Ogre::GCT_SAMPLER2DARRAY = 11, Ogre::GCT_MATRIX_2X2 = 12,
  Ogre::GCT_MATRIX_2X3 = 13, Ogre::GCT_MATRIX_2X4 = 14, Ogre::GCT_MATRIX_3X2 = 15, Ogre::GCT_MATRIX_3X3 = 16,
  Ogre::GCT_MATRIX_3X4 = 17, Ogre::GCT_MATRIX_4X2 = 18, Ogre::GCT_MATRIX_4X3 = 19, Ogre::GCT_MATRIX_4X4 = 20,
  Ogre::GCT_INT1 = 21, Ogre::GCT_INT2 = 22, Ogre::GCT_INT3 = 23, Ogre::GCT_INT4 = 24,
  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 Fri May 25 23:36:28 2012