16 #ifndef SURGSIM_GRAPHICS_OSGSCREENSPACEPASS_H 17 #define SURGSIM_GRAPHICS_OSGSCREENSPACEPASS_H 23 #include <osg/ref_ptr> 49 void setViewPort(
int width,
int height);
52 virtual bool doInitialize()
override;
58 void updateViewport(
int width,
int height);
73 #endif // SURGSIM_GRAPHICS_OSGSCREENSPACEPASS_H Definition: DriveElementFromInputBehavior.cpp:27
string(TOUPPER ${DEVICE}DEVICE_UPPER_CASE) option(BUILD_DEVICE_ $
Definition: CMakeLists.txt:35
Special RenderPass to draw items using a orthogonal projection, this is specific to the Osg implement...
Definition: OsgScreenSpacePass.h:37
osg::ref_ptr< osg::Camera > m_camera
The osg camera reference.
Definition: OsgScreenSpacePass.h:61
int m_height
The height of the viewport.
Definition: OsgScreenSpacePass.h:67
Definition: OsgLight.h:33
int m_width
The width of the viewport.
Definition: OsgScreenSpacePass.h:64
Encapsulation of all the components necessary needed to implement a full renderpass, this SceneElement contains a Camera and Group, it can also take a Material (for shaders and uniforms) and a RenderTarget for textures that are used as the output for the camera.
Definition: RenderPass.h:50