# OgreGpuProgram.h File Reference

`#include "OgrePrerequisites.h"`
`#include "OgreResource.h"`
`#include "OgreSharedPtr.h"`
`#include "OgreIteratorWrappers.h"`
`#include "OgreSerializer.h"`
`#include "OgreRenderOperation.h"`

Go to the source code of this file.

## Namespaces

namespace | Ogre

## 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::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::GpuProgram
| Defines a program which runs on the GPU such as a vertex or fragment program. More...
class | Ogre::GpuProgram::CmdType
| Command object - see ParamCommand. More...
class | Ogre::GpuProgram::CmdSyntax
class | Ogre::GpuProgram::CmdSkeletal
class | Ogre::GpuProgram::CmdMorph
class | Ogre::GpuProgram::CmdPose
class | Ogre::GpuProgram::CmdVTF
class | Ogre::GpuProgram::CmdManualNamedConstsFile
class | Ogre::GpuProgram::CmdAdjacency
class | Ogre::GpuProgramPtr
| Specialisation of SharedPtr to allow SharedPtr to be assigned to GpuProgramPtr. More...

## Typedefs

typedef std::map< String, GpuConstantDefinition > | Ogre::GpuConstantDefinitionMap
typedef ConstMapIterator < GpuConstantDefinitionMap > | Ogre::GpuConstantDefinitionIterator
typedef std::map< size_t, GpuLogicalIndexUse > | Ogre::GpuLogicalIndexUseMap
typedef SharedPtr < GpuProgramParameters > | Ogre::GpuProgramParametersSharedPtr
| Shared pointer used to hold references to GpuProgramParameters instances.

## Enumerations

enum | Ogre::GpuProgramType { Ogre::GPT_VERTEX_PROGRAM, Ogre::GPT_FRAGMENT_PROGRAM, Ogre::GPT_GEOMETRY_PROGRAM }
| Enumerates the types of programs which can run on the GPU. More...

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_MATRIX_2X2 = 11, Ogre::GCT_MATRIX_2X3 = 12,
Ogre::GCT_MATRIX_2X4 = 13, Ogre::GCT_MATRIX_3X2 = 14, Ogre::GCT_MATRIX_3X3 = 15, Ogre::GCT_MATRIX_3X4 = 16,
Ogre::GCT_MATRIX_4X2 = 17, Ogre::GCT_MATRIX_4X3 = 18, Ogre::GCT_MATRIX_4X4 = 19, Ogre::GCT_INT1 = 20,
Ogre::GCT_INT2 = 21, Ogre::GCT_INT3 = 22, Ogre::GCT_INT4 = 23, Ogre::GCT_UNKNOWN = 99
}

| Enumeration of the types of constant we may encounter in programs. More...

Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Jul 26 11:32:21 2009