Allows remapping texture indicies in another RenderSource.
More...
#include <pipeline.h>
|
| RemappingSource (RenderSource *source) |
|
void | setMapping (u8 index, u8 target_index) |
| Maps texture index to a different index in the dependent source.
|
|
virtual u8 | getTextureCount () override |
| Return the number of textures in the source.
|
|
virtual video::ITexture * | getTexture (u8 index) override |
| Get a texture by index.
|
|
Allows remapping texture indicies in another RenderSource.
- Note
- all unmapped indexes are passed through to the underlying render source.
◆ RemappingSource()
◆ getTexture()
virtual video::ITexture * RemappingSource::getTexture |
( |
u8 | index | ) |
|
|
inlineoverridevirtual |
◆ getTextureCount()
virtual u8 RemappingSource::getTextureCount |
( |
| ) |
|
|
inlineoverridevirtual |
◆ setMapping()
void RemappingSource::setMapping |
( |
u8 | index, |
|
|
u8 | target_index ) |
|
inline |
Maps texture index to a different index in the dependent source.
- Parameters
-
index | texture index as requested by the |
- See also
- RenderStep.
- Parameters
-
target_index | matching texture index in the underlying |
- See also
- RenderSource.
References m_mappings.
◆ m_mappings
std::vector<u8> RemappingSource::m_mappings |
◆ m_source
The documentation for this class was generated from the following file: