Represents a source of rendering information such as textures. More...
#include <pipeline.h>
Public Member Functions | |
virtual u8 | getTextureCount ()=0 |
Return the number of textures in the source. | |
virtual video::ITexture * | getTexture (u8 index)=0 |
Get a texture by index. | |
Public Member Functions inherited from RenderPipelineObject | |
virtual | ~RenderPipelineObject ()=default |
virtual void | reset (PipelineContext &context) |
Represents a source of rendering information such as textures.
|
pure virtual |
Get a texture by index.
Returns nullptr is the texture does not exist.
Implemented in DynamicSource, RemappingSource, and TextureBuffer.
Referenced by DynamicSource::getTexture(), RemappingSource::getTexture(), DrawImageStep::run(), PostProcessingStep::run(), and UpscaleStep::run().
|
pure virtual |
Return the number of textures in the source.
Implemented in DynamicSource, RemappingSource, and TextureBuffer.
Referenced by DynamicSource::getTextureCount().