Clase encargada de generar Shaders para los materiales que no tengan (https://ogrecave.github.io/ogre/api/latest/class_ogre_bites_1_1_s_g_technique_resolver_listener.html)
Más...
#include <SGTechniqueResolverListener.h>
◆ SGTechniqueResolverListener()
SGTechniqueResolverListener::SGTechniqueResolverListener |
( |
Ogre::RTShader::ShaderGenerator *const | pShaderGenerator | ) |
|
|
explicit |
◆ afterIlluminationPassesCreated()
bool SGTechniqueResolverListener::afterIlluminationPassesCreated |
( |
Ogre::Technique *const | tech | ) |
|
◆ beforeIlluminationPassesCleared()
bool SGTechniqueResolverListener::beforeIlluminationPassesCleared |
( |
Ogre::Technique *const | tech | ) |
|
◆ handleSchemeNotFound()
Ogre::Technique * SGTechniqueResolverListener::handleSchemeNotFound |
( |
const unsigned short | schemeIndex, |
|
|
Ogre::String const & | schemeName, |
|
|
Ogre::Material *const | originalMaterial, |
|
|
const unsigned short | lodIndex, |
|
|
const Ogre::Renderable *const | rend ) |
This is the hook point where shader based technique will be created. It will be called whenever the material manager won't find appropriate technique that satisfy the target scheme name. If the scheme name is out target RT Shader System scheme name we will try to create shader generated technique for it.
◆ mShaderGenerator
Ogre::RTShader::ShaderGenerator* SGTechniqueResolverListener::mShaderGenerator |
|
protected |
La documentación de esta clase está generada de los siguientes archivos: