Project

General

Profile

SO3Engine
SO3::SDeferredLightMaterialGenerator Class Referenceabstract

#include <SO3DeferredLightMaterialGenerator.h>

Inheritance diagram for SO3::SDeferredLightMaterialGenerator:
SO3::SMaterialGenerator< SDeferredLightPermutation, Ogre::uint32 > SO3::SDeferredLightAmbientMaterialGenerator SO3::SDeferredLightDirectionalMaterialGenerator SO3::SDeferredLightPointMaterialGenerator SO3::SDeferredLightSpotMaterialGenerator

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()

SO3::SDeferredLightMaterialGenerator::~SDeferredLightMaterialGenerator ( )
virtual

Definition at line 40 of file SO3DeferredLightMaterialGenerator.cpp.

◆ SDeferredLightMaterialGenerator()

SO3::SDeferredLightMaterialGenerator::SDeferredLightMaterialGenerator ( const Ogre::String &  typeName)
protected

Definition at line 30 of file SO3DeferredLightMaterialGenerator.cpp.

Member Function Documentation

◆ GenerateFragmentShader()

virtual Ogre::GpuProgramPtr SO3::SDeferredLightMaterialGenerator::GenerateFragmentShader ( SGBuffer gbuffer,
Ogre::uint32  permutationValue 
)
protectedpure virtual

◆ GenerateTemplateMaterial()

Ogre::MaterialPtr SO3::SDeferredLightMaterialGenerator::GenerateTemplateMaterial ( SGBuffer gbuffer,
Ogre::uint32  permutationValue 
)
protectedvirtual

◆ GenerateVertexShader()

virtual Ogre::GpuProgramPtr SO3::SDeferredLightMaterialGenerator::GenerateVertexShader ( SGBuffer gbuffer,
Ogre::uint32  permutationValue 
)
protectedpure virtual

The documentation for this class was generated from the following files: