OGRE  13.6
Object-Oriented Graphics Rendering Engine
Ogre::RTShader Namespace Reference

Classes

class  AssignmentAtom
 shorthand for "lhs = rhs;" insted of using FFP_Assign(rhs, lhs) More...
 
struct  At
 shorthand for operator[] on preceding operand. e.g. myArray[p] More...
 
class  BinaryOpAtom
 shorthand for "dst = a OP b;" More...
 
class  BuiltinFunctionAtom
 shorthand for "dst = BUILTIN(args);" More...
 
class  ConstParameter
 Helper template which is the base for our ConstParameters. More...
 
class  FFPTexturing
 Texturing sub render state implementation of the Fixed Function Pipeline. More...
 
class  FFPTexturingFactory
 A factory that enables creation of FFPTexturing instances. More...
 
class  FFPTransform
 Transform sub render state implementation of the Fixed Function Pipeline. More...
 
class  FFPTransformFactory
 A factory that enables creation of FFPTransform instances. More...
 
class  Function
 A class that represents a shader based program function. More...
 
class  FunctionAtom
 A class that represents an atomic code section of shader based program function. More...
 
class  FunctionInvocation
 A class that represents function invocation code from shader based program function. More...
 
class  FunctionStageRef
 represents a FFPShaderStage, part of a Function More...
 
class  GBuffer
 Transform sub render state implementation of writing to GBuffers. More...
 
class  GBufferFactory
 A factory that enables creation of GBuffer instances. More...
 
class  HardwareSkinning
 Implement a sub render state which performs hardware skinning. More...
 
class  HardwareSkinningFactory
 A factory that enables creation of HardwareSkinning instances. More...
 
struct  In
 
struct  InOut
 
class  IntegratedPSSM3
 PSSM shadow receiver with up to 3 splits. Custom split points. More...
 
class  IntegratedPSSM3Factory
 A factory that enables creation of IntegratedPSSM3 instances. More...
 
class  LayeredBlending
 
class  LayeredBlendingFactory
 A factory that enables creation of LayeredBlending instances. More...
 
class  Operand
 A class that represents a function operand (its the combination of a parameter the in/out semantic and the used fields) More...
 
struct  Out
 
class  Parameter
 A class that represents a shader based program parameter. More...
 
class  ParameterFactory
 Helper utility class that creates common parameters. More...
 
class  Program
 A class that represents a shader based program. More...
 
class  ProgramManager
 A singleton manager class that manages shader based programs. More...
 
class  ProgramProcessor
 A class that provides extra processing services on CPU based programs. More...
 
class  ProgramSet
 Container class for shader based programs. More...
 
class  ProgramWriter
 Base class interface for shader program writers. More...
 
class  ProgramWriterFactory
 
class  ProgramWriterManager
 
class  RenderState
 This is a container class for sub render state class. More...
 
class  SampleTextureAtom
 shorthand for "dst = texture(sampler, uv);" instead of using FFP_SampleTexture More...
 
class  SGScriptTranslator
 This class responsible for translating core features of the RT Shader System for Ogre material scripts. More...
 
class  ShaderGenerator
 Shader generator system main interface. More...
 
class  SubRenderState
 This class is the base interface of sub part from a shader based rendering pipeline. More...
 
class  SubRenderStateAccessor
 This class uses as accessor from a template SubRenderState to all of its instances that created based on it. More...
 
class  SubRenderStateFactory
 Abstract factory interface for creating SubRenderState implementation instances. More...
 
class  TargetRenderState
 This is the target render state. More...
 
class  TriplanarTexturing
 
class  TriplanarTexturingFactory
 A factory that enables creation of TriplanarMapping instances. More...
 
class  UniformParameter
 Uniform parameter class. More...
 

Typedefs

typedef FunctionAtomInstanceList::const_iterator FunctionAtomInstanceConstIterator
 
typedef FunctionAtomInstanceList::iterator FunctionAtomInstanceIterator
 
typedef std::vector< FunctionAtom * > FunctionAtomInstanceList
 
typedef shared_ptr< ParameterParameterPtr
 
typedef ShaderFunctionList::const_iterator ShaderFunctionConstIterator
 
typedef ShaderFunctionList::iterator ShaderFunctionIterator
 
typedef std::vector< Function * > ShaderFunctionList
 
typedef ShaderParameterList::const_iterator ShaderParameterConstIterator
 
typedef ShaderParameterList::iterator ShaderParameterIterator
 
typedef std::vector< ParameterPtrShaderParameterList
 
typedef SharedPtr< SubRenderStateAccessorSubRenderStateAccessorPtr
 
typedef std::vector< SubRenderState * > SubRenderStateList
 
typedef SubRenderStateList::const_iterator SubRenderStateListConstIterator
 
typedef SubRenderStateList::iterator SubRenderStateListIterator
 
typedef std::set< SubRenderState * > SubRenderStateSet
 
typedef SubRenderStateSet::const_iterator SubRenderStateSetConstIterator
 
typedef SubRenderStateSet::iterator SubRenderStateSetIterator
 
typedef std::shared_ptr< TargetRenderStateTargetRenderStatePtr
 
typedef UniformParameterList::const_iterator UniformParameterConstIterator
 
typedef UniformParameterList::iterator UniformParameterIterator
 
typedef std::vector< UniformParameterPtrUniformParameterList
 
typedef shared_ptr< UniformParameterUniformParameterPtr
 

Enumerations

enum  FFPFragmentShaderStage {
  FFP_PS_PRE_PROCESS = 0 , FFP_PS_COLOUR_BEGIN = 100 , FFP_PS_SAMPLING = 150 , FFP_PS_TEXTURING = 200 ,
  FFP_PS_COLOUR_END = 300 , FFP_PS_FOG = 400 , FFP_PS_POST_PROCESS = 500 , FFP_PS_ALPHA_TEST = 1000
}
 
enum  FFPShaderStage {
  FFP_PRE_PROCESS = 0 , FFP_TRANSFORM = 100 , FFP_COLOUR = 200 , FFP_LIGHTING = 300 ,
  FFP_TEXTURING = 400 , FFP_FOG = 500 , FFP_POST_PROCESS = 600 , FFP_ALPHA_TEST = 1000
}
 
enum  FFPVertexShaderStage {
  FFP_VS_PRE_PROCESS = 0 , FFP_VS_TRANSFORM = 100 , FFP_VS_COLOUR = 200 , FFP_VS_LIGHTING = 300 ,
  FFP_VS_TEXTURING = 400 , FFP_VS_FOG = 500 , FFP_VS_POST_PROCESS = 2000
}
 
enum  SkinningType { ST_LINEAR , ST_DUAL_QUATERNION }
 
enum  VSOutputCompactPolicy { VSOCP_LOW = 0 , VSOCP_MEDIUM = 1 , VSOCP_HIGH = 2 }
 

Variables

_OgreRTSSExport const String SRS_ALPHA_TEST
 Enables alpha-testing. More...
 
_OgreRTSSExport const String SRS_COOK_TORRANCE_LIGHTING
 Use metal roughness parametrisation for lighting calulations. More...
 
_OgreRTSSExport const String SRS_FOG
 Modulates the color of a pixel based on the scene or object fog parameters. More...
 
_OgreRTSSExport const String SRS_GBUFFER
 Redirects rendering results into gbuffers for e.g. deferred shading. More...
 
_OgreRTSSExport const String SRS_HARDWARE_SKINNING
 Include skinning calculations for Skeletal Animation in the shader to move computations to the GPU. More...
 
_OgreRTSSExport const String SRS_IMAGE_BASED_LIGHTING
 Adds calculations for indirect image based lighting (IBL) More...
 
_OgreRTSSExport const String SRS_INTEGRATED_PSSM3
 PSSM shadow receiver with up to 3 splits. Custom split points. More...
 
_OgreRTSSExport const String SRS_LAYERED_BLENDING
 Apply photoshop-like blend effects to texture layers. More...
 
_OgreRTSSExport const String SRS_NORMALMAP
 Use a normal map to derive normals. More...
 
_OgreRTSSExport const String SRS_PER_PIXEL_LIGHTING
 Adds per-pixel lighting calulations (Phong Shading) More...
 
_OgreRTSSExport const String SRS_PER_VERTEX_LIGHTING
 Adds per-vertex (FFP) lighting calulations (Gouraud Shading) More...
 
_OgreRTSSExport const String SRS_TEXTURING
 Computes FFP texture transform and blending based on the assigned textures. More...
 
_OgreRTSSExport const String SRS_TRANSFORM
 Computes the position of the vertex in projection space, allows using instancing. More...
 
_OgreRTSSExport const String SRS_TRIPLANAR_TEXTURING
 enable triplanar texture mapping More...
 
_OgreRTSSExport const String SRS_VERTEX_COLOUR
 Enables vertex-colors, always required. More...
 
_OgreRTSSExport const String SRS_WBOIT
 Redirects rendering results into intermediate buffers for the WBOIT algorithm. More...
 

Typedef Documentation

◆ ParameterPtr

◆ UniformParameterPtr

◆ ShaderParameterList

Enumeration Type Documentation

◆ VSOutputCompactPolicy

Enumerator
VSOCP_LOW 
VSOCP_MEDIUM 
VSOCP_HIGH