opensurgsim
List of all members
SurgSim::Graphics::OsgAbstractRenderTarget Class Referenceabstract

Osg abstract render target, this hides the type of the actual osg texture and lets us use OsgRenderTarget without the template type. More...

#include <OsgRenderTarget.h>

Inheritance diagram for SurgSim::Graphics::OsgAbstractRenderTarget:
SurgSim::Graphics::RenderTarget SurgSim::Graphics::OsgRenderTarget< T >

Additional Inherited Members

- Public Member Functions inherited from SurgSim::Graphics::RenderTarget
 RenderTarget ()
 Constructor.
 
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< TexturegetColorTarget (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< TexturegetDepthTarget () const =0
 Returns the texture that is used for the depth map drawing. More...
 

Detailed Description

Osg abstract render target, this hides the type of the actual osg texture and lets us use OsgRenderTarget without the template type.


The documentation for this class was generated from the following file: