16 #ifndef SURGSIM_GRAPHICS_RENDERTARGET_H 17 #define SURGSIM_GRAPHICS_RENDERTARGET_H 48 virtual void getSize(
int* width,
int* height)
const = 0;
57 virtual std::shared_ptr<Texture>
getColorTarget(
int index)
const = 0;
Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui n...
Definition: AddRandomSphereBehavior.cpp:36
RenderTarget()
Constructor.
Definition: RenderTarget.h:38
virtual void getSize(int *width, int *height) const =0
Gets a size.
RenderTarget is an abstraction of the target buffers that a Camera should use to render it's scene va...
Definition: RenderTarget.h:33
virtual std::shared_ptr< Texture > getColorTarget(int index) const =0
Gets the indicated texture that is used as a target.
virtual bool doesUseDepthTarget() const =0
Check wether this draws into a depth texture.
virtual int getColorTargetCount() const =0
Returns the number of textures that this RenderTarget uses to draw into.
virtual std::shared_ptr< Texture > getDepthTarget() const =0
Returns the texture that is used for the depth map drawing.