RenderTarget is an abstraction of the target buffers that a Camera should use to render it's scene valid targets are a given number of color buffers, and an optional depth buffer.
More...
#include <SurgSim/Graphics/RenderTarget.h>
RenderTarget is an abstraction of the target buffers that a Camera should use to render it's scene valid targets are a given number of color buffers, and an optional depth buffer.
The buffers need to be made available as textures so they can be reused in another rendering step. The type of texture is not determined at this point and will depend on the concrete RenderTarget that is instantiated. The RenderTarget is consider immutable after construction.
SurgSim::Graphics::RenderTarget::RenderTarget |
( |
| ) |
|
|
inline |
virtual SurgSim::Graphics::RenderTarget::~RenderTarget |
( |
| ) |
|
|
inlinevirtual |
virtual bool SurgSim::Graphics::RenderTarget::doesUseDepthTarget |
( |
| ) |
const |
|
pure virtual |
virtual std::shared_ptr<Texture> SurgSim::Graphics::RenderTarget::getColorTarget |
( |
int |
index | ) |
const |
|
pure virtual |
virtual int SurgSim::Graphics::RenderTarget::getColorTargetCount |
( |
| ) |
const |
|
pure virtual |
virtual std::shared_ptr<Texture> SurgSim::Graphics::RenderTarget::getDepthTarget |
( |
| ) |
const |
|
pure virtual |
virtual void SurgSim::Graphics::RenderTarget::getSize |
( |
int * |
width, |
|
|
int * |
height |
|
) |
| const |
|
pure virtual |
The documentation for this class was generated from the following file: