SO3Engine
|
SO3::SShaderGeneratorUnified Class Reference
#include <SO3ShaderGeneratorUnified.h>
Inheritance diagram for SO3::SShaderGeneratorUnified:
Public Member Functions | |
SShaderGeneratorUnified (Ogre::Technique *, Ogre::Pass *pass, ShaderType type, bool ignoreSlicePlane=false) | |
~SShaderGeneratorUnified () | |
virtual void | ComputeShaderCode () |
virtual std::string | GetUniformParams () |
virtual std::string | GetProgram () |
virtual void | ApplyShader () |
Public Member Functions inherited from SO3::SShaderGenerator | |
SShaderGenerator (Ogre::Technique *, Ogre::Pass *pass, ShaderType type, bool ignoreSlicePlane=false) | |
~SShaderGenerator () | |
std::string | GetShaderName () |
bool | IsUvAnimated (int uvindex) |
bool | IsAlphaRejected () |
int | GetConfig () |
Additional Inherited Members | |
Public Types inherited from SO3::SShaderGenerator | |
enum | ShaderType { ShaderGeneratorVP , ShaderGeneratorFP , ShaderGeneratorRTSS } |
enum | ShaderMapType { MAP_DUMMY = 1 , MAP_AMBIENT = 2 , MAP_DIFFUSE = 4 , MAP_BUMP = 8 , MAP_NORMAL = 16 , MAP_SPECULAR = 32 , MAP_SHININESS = 64 , MAP_EMISSIVE = 128 , MAP_REFLECTION = 256 , MAP_FRESNEL = 512 , MAP_REFMASK = 1024 , MAP_OPACITY = 2048 , MAP_ROUGHNESS = 4096 } |
typedef std::list< Ogre::GpuProgramPtr > | GeneratedShaders |
Static Public Member Functions inherited from SO3::SShaderGenerator | |
static void | Reset () |
Static Public Attributes inherited from SO3::SShaderGenerator | |
static GeneratedShaders | mGeneratedShaders |
Protected Attributes inherited from SO3::SShaderGenerator | |
ShaderType | mType |
Ogre::Pass * | mPass |
Ogre::Technique * | mTechnique |
int | mConfig |
std::string | mShaderName |
std::vector< ShaderMapType > | mTexTypes |
std::vector< unsigned int > | mTexUnits |
std::vector< unsigned int > | mSortedTexUnits |
std::vector< bool > | mAnimatedUv |
std::vector< bool > | mCubeUv |
std::vector< bool > | mSortedCubeUv |
std::stringstream | mSource |
std::string | mParams |
std::string | mProgram |
float | mRefTexCoef |
bool | mHighProfile |
bool | mNotLight |
bool | mUseVertexColor |
bool | mIgnoreSlicePlane |
bool | mUseAlphaRejection |
unsigned int | mNbLights |
Detailed Description
Definition at line 41 of file SO3ShaderGeneratorUnified.h.
Constructor & Destructor Documentation
◆ SShaderGeneratorUnified()
SShaderGeneratorUnified::SShaderGeneratorUnified | ( | Ogre::Technique * | technique, |
Ogre::Pass * | pass, | ||
ShaderType | type, | ||
bool | ignoreSlicePlane = false |
||
) |
Definition at line 20 of file SO3ShaderGeneratorUnified.cpp.
◆ ~SShaderGeneratorUnified()
SShaderGeneratorUnified::~SShaderGeneratorUnified | ( | ) |
Definition at line 24 of file SO3ShaderGeneratorUnified.cpp.
Member Function Documentation
◆ ApplyShader()
|
virtual |
Reimplemented from SO3::SShaderGenerator.
Definition at line 888 of file SO3ShaderGeneratorUnified.cpp.
◆ ComputeShaderCode()
|
virtual |
Reimplemented from SO3::SShaderGenerator.
Definition at line 29 of file SO3ShaderGeneratorUnified.cpp.
◆ GetProgram()
|
virtual |
Reimplemented from SO3::SShaderGenerator.
Definition at line 722 of file SO3ShaderGeneratorUnified.cpp.
◆ GetUniformParams()
|
virtual |
Reimplemented from SO3::SShaderGenerator.
Definition at line 677 of file SO3ShaderGeneratorUnified.cpp.
The documentation for this class was generated from the following files:
- include/SO3Material/SO3ShaderGeneratorUnified.h
- src/SO3Material/SO3ShaderGeneratorUnified.cpp
Generated by 1.9.8