SO3Engine
|
SO3::SDeferredLightMaterialGenerator Class Referenceabstract
#include <SO3DeferredLightMaterialGenerator.h>
Inheritance diagram for SO3::SDeferredLightMaterialGenerator:
Public Member Functions | |
virtual | ~SDeferredLightMaterialGenerator () |
Public Member Functions inherited from SO3::SMaterialGenerator< SDeferredLightPermutation, Ogre::uint32 > | |
virtual | ~SMaterialGenerator () |
const Ogre::MaterialPtr & | GetMaterial (SGBuffer *gbuffer, SDeferredLightPermutation permutation) |
unsigned int | GetDeferredMaterialNumber (SGBuffer *gbuffer) |
unsigned int | GetDeferredMaterialTemplateNumber (SGBuffer *gbuffer) |
unsigned int | GetDeferredVertexShaderNumber (SGBuffer *gbuffer) |
unsigned int | GetDeferredPixelShaderNumber (SGBuffer *gbuffer) |
void | ResetResources (SGBuffer *gbuffer) |
Protected Member Functions | |
SDeferredLightMaterialGenerator (const Ogre::String &typeName) | |
virtual Ogre::GpuProgramPtr | GenerateVertexShader (SGBuffer *gbuffer, Ogre::uint32 permutationValue)=0 |
virtual Ogre::GpuProgramPtr | GenerateFragmentShader (SGBuffer *gbuffer, Ogre::uint32 permutationValue)=0 |
virtual Ogre::MaterialPtr | GenerateTemplateMaterial (SGBuffer *gbuffer, Ogre::uint32 permutationValue) |
Protected Member Functions inherited from SO3::SMaterialGenerator< SDeferredLightPermutation, Ogre::uint32 > | |
SMaterialGenerator (const Ogre::String &typeName) | |
const Ogre::GpuProgramPtr & | GetVertexShader (SGBuffer *gbuffer, Ogre::uint32 permutationValue) |
const Ogre::GpuProgramPtr & | GetFragmentShader (SGBuffer *gbuffer, Ogre::uint32 permutationValue) |
const Ogre::MaterialPtr & | GetTemplateMaterial (SGBuffer *gbuffer, Ogre::uint32 permutationValue) |
Additional Inherited Members | |
Public Types inherited from SO3::SMaterialGenerator< SDeferredLightPermutation, Ogre::uint32 > | |
typedef Ogre::uint32 | Perm |
Bitfield used to signify a material permutations. | |
Protected Attributes inherited from SO3::SMaterialGenerator< SDeferredLightPermutation, Ogre::uint32 > | |
const Ogre::String | materialBaseName |
Base name of materials generated by this. | |
Detailed Description
Definition at line 34 of file SO3DeferredLightMaterialGenerator.h.
Constructor & Destructor Documentation
◆ ~SDeferredLightMaterialGenerator()
|
virtual |
Definition at line 40 of file SO3DeferredLightMaterialGenerator.cpp.
◆ SDeferredLightMaterialGenerator()
|
protected |
Definition at line 30 of file SO3DeferredLightMaterialGenerator.cpp.
Member Function Documentation
◆ GenerateFragmentShader()
|
protectedpure virtual |
◆ GenerateTemplateMaterial()
|
protectedvirtual |
Implements SO3::SMaterialGenerator< SDeferredLightPermutation, Ogre::uint32 >.
Reimplemented in SO3::SDeferredLightAmbientMaterialGenerator, SO3::SDeferredLightDirectionalMaterialGenerator, SO3::SDeferredLightPointMaterialGenerator, and SO3::SDeferredLightSpotMaterialGenerator.
Definition at line 44 of file SO3DeferredLightMaterialGenerator.cpp.
◆ GenerateVertexShader()
|
protectedpure virtual |
The documentation for this class was generated from the following files:
- include/SO3Renderer/DeferredShading/SO3DeferredLightMaterialGenerator.h
- src/SO3Renderer/DeferredShading/SO3DeferredLightMaterialGenerator.cpp
Generated by 1.9.8