OpenFrames
Public Member Functions | Public Attributes | List of all members
OpenFrames::VRTextureBuffer Class Reference

Encapsulates textures used for VR offscreen rendering. More...

#include <VRUtils.hpp>

Inheritance diagram for OpenFrames::VRTextureBuffer:

Public Member Functions

 VRTextureBuffer (int width=1080, int height=1200)
 

Public Attributes

osg::ref_ptr< osg::Texture2D > _rightColorTex
 
osg::ref_ptr< osg::Texture2D > _rightDepthTex
 
osg::ref_ptr< osg::Texture2D > _leftColorTex
 
osg::ref_ptr< osg::Texture2D > _leftDepthTex
 
osg::ref_ptr< osg::Camera > _rightTexCamera
 
osg::ref_ptr< osg::Camera > _leftTexCamera
 

Detailed Description

Encapsulates textures used for VR offscreen rendering.

Constructor & Destructor Documentation

◆ VRTextureBuffer()

OpenFrames::VRTextureBuffer::VRTextureBuffer ( int  width = 1080,
int  height = 1200 
)

Create textures using specified size. Zero size means auto-compute


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