OGRE 14.3
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
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  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  HardwareSkinningFactory
 A factory that enables creation of HardwareSkinning instances. More...
 
struct  In
 
struct  InOut
 
class  LayeredBlending
 
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  ProgramSet
 Container class for shader based programs. More...
 
class  ProgramWriter
 Base class interface for shader program writers. More...
 
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  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.
 
_OgreRTSSExport const String SRS_COOK_TORRANCE_LIGHTING
 Use metal roughness parametrisation for lighting calulations.
 
_OgreRTSSExport const String SRS_FOG
 Modulates the color of a pixel based on the scene or object fog parameters.
 
_OgreRTSSExport const String SRS_GBUFFER
 Redirects rendering results into gbuffers for e.g. deferred shading.
 
_OgreRTSSExport const String SRS_HARDWARE_SKINNING
 Include skinning calculations for Skeletal Animation in the shader to move computations to the GPU.
 
_OgreRTSSExport const String SRS_IMAGE_BASED_LIGHTING
 Adds calculations for indirect image based lighting (IBL)
 
_OgreRTSSExport const String SRS_INTEGRATED_PSSM3
 
_OgreRTSSExport const String SRS_LAYERED_BLENDING
 Apply photoshop-like blend effects to texture layers.
 
_OgreRTSSExport const String SRS_NORMALMAP
 Use a normal map to derive normals.
 
_OgreRTSSExport const String SRS_PER_PIXEL_LIGHTING
 Adds per-pixel lighting calulations (Phong Shading)
 
_OgreRTSSExport const String SRS_PER_VERTEX_LIGHTING
 Adds per-vertex (FFP) lighting calulations (Gouraud Shading)
 
_OgreRTSSExport const String SRS_SHADOW_MAPPING
 shadow mapping receiver with multiple lights or single PSSM light with up to 3 custom splits.
 
_OgreRTSSExport const String SRS_TEXTURING
 Computes FFP texture transform and blending based on the assigned textures.
 
_OgreRTSSExport const String SRS_TRANSFORM
 Computes the position of the vertex in projection space, allows using instancing.
 
_OgreRTSSExport const String SRS_TRIPLANAR_TEXTURING
 enable triplanar texture mapping
 
_OgreRTSSExport const String SRS_VERTEX_COLOUR
 Enables vertex-colors, always required.
 
_OgreRTSSExport const String SRS_WBOIT
 Redirects rendering results into intermediate buffers for the WBOIT algorithm.
 

Typedef Documentation

◆ ParameterPtr

◆ UniformParameterPtr

◆ ShaderParameterList

Enumeration Type Documentation

◆ VSOutputCompactPolicy

Enumerator
VSOCP_LOW 
VSOCP_MEDIUM 
VSOCP_HIGH