|
Osg abstract render target, this hides the type of the actual osg texture and lets us use OsgRenderTarget without the template type. More...
#include <SurgSim/Graphics/OsgRenderTarget.h>
Private Member Functions | |
| virtual std::shared_ptr< OsgTexture > | getColorTargetOsg (int index) const =0 |
| Accessor for the color target as an OsgTexture. More... | |
| virtual std::shared_ptr< OsgTexture > | getDepthTargetOsg () const =0 |
| Accessor for the depth target as an OsgTexture. More... | |
Additional Inherited Members | |
Public Member Functions inherited from SurgSim::Graphics::RenderTarget | |
| RenderTarget () | |
| Constructor. More... | |
| virtual | ~RenderTarget () |
| virtual void | getSize (int *width, int *height) const =0 |
| Gets a size. More... | |
| virtual int | getColorTargetCount () const =0 |
| Returns the number of textures that this RenderTarget uses to draw into. More... | |
| virtual std::shared_ptr< Texture > | getColorTarget (int index) const =0 |
| Gets the indicated texture that is used as a target. More... | |
| virtual bool | doesUseDepthTarget () const =0 |
| Check wether this draws into a depth texture. More... | |
| virtual std::shared_ptr< Texture > | getDepthTarget () const =0 |
| Returns the texture that is used for the depth map drawing. More... | |
Osg abstract render target, this hides the type of the actual osg texture and lets us use OsgRenderTarget without the template type.
|
privatepure virtual |
Accessor for the color target as an OsgTexture.
| index | Zero-based index of the color texture. |
Implemented in SurgSim::Graphics::OsgRenderTarget< T >.
|
privatepure virtual |
Accessor for the depth target as an OsgTexture.
Implemented in SurgSim::Graphics::OsgRenderTarget< T >.
1.8.13