Class for handling materials who did not specify techniques for the merging step of deferred/inferred lighting.
More...
#include <MergeSchemeHandler.hh>
|
| MergeSchemeHandler (bool _useDSF) |
|
virtual Ogre::Technique * | handleSchemeNotFound (uint16_t _schemeIndex, const Ogre::String &_schemeName, Ogre::Material *_originalMaterial, uint16_t _lodIndex, const Ogre::Renderable *rend) |
|
|
static const std::string | normal_map_pattern |
| The string that will be checked in textures to determine whether they are normal maps. More...
|
|
Class for handling materials who did not specify techniques for the merging step of deferred/inferred lighting.
gazebo::rendering::MergeSchemeHandler::MergeSchemeHandler |
( |
bool |
_useDSF | ) |
|
|
inline |
bool gazebo::rendering::MergeSchemeHandler::CheckNormalMap |
( |
Ogre::TextureUnitState * |
_tus, |
|
|
PassProperties & |
_props |
|
) |
| |
|
protected |
Check if a texture is a normal map, and fill property sheet accordingly.
void gazebo::rendering::MergeSchemeHandler::FillPass |
( |
Ogre::Pass * |
_gBufferPass, |
|
|
Ogre::Pass * |
_originalPass, |
|
|
const PassProperties & |
_props |
|
) |
| |
|
protected |
Fill a pass with the specific data from the pass it is based on.
Get the permutation of material flags that fit a certain property sheet.
virtual Ogre::Technique* gazebo::rendering::MergeSchemeHandler::handleSchemeNotFound |
( |
uint16_t |
_schemeIndex, |
|
|
const Ogre::String & |
_schemeName, |
|
|
Ogre::Material * |
_originalMaterial, |
|
|
uint16_t |
_lodIndex, |
|
|
const Ogre::Renderable * |
rend |
|
) |
| |
|
virtual |
PassProperties gazebo::rendering::MergeSchemeHandler::InspectPass |
( |
Ogre::Pass * |
_pass, |
|
|
uint16_t |
_lodIndex, |
|
|
const Ogre::Renderable * |
_rend |
|
) |
| |
|
protected |
Inspect a technique and return its relevant properties.
const std::string gazebo::rendering::MergeSchemeHandler::normal_map_pattern |
|
staticprotected |
The string that will be checked in textures to determine whether they are normal maps.
Ogre::String gazebo::rendering::MergeSchemeHandler::techName |
|
protected |
bool gazebo::rendering::MergeSchemeHandler::useDSF |
|
protected |
The documentation for this class was generated from the following file: