VR-Vantage
Loading...
Searching...
No Matches
OculusMirrorTexture Class Reference
Inheritance diagram for OculusMirrorTexture:

Public Member Functions

 OculusMirrorTexture (ovrSession &session, osg::ref_ptr< osg::State > state, int width, int height)
void destroy ()
GLint width () const
GLint height () const
void blitTexture (osg::GraphicsContext *gc, int width, int height)

Protected Member Functions

virtual ~OculusMirrorTexture ()

Protected Attributes

const ovrSession m_session
ovrMirrorTexture m_texture
GLint m_width
GLint m_height
GLuint m_mirrorFBO

Constructor & Destructor Documentation

◆ OculusMirrorTexture()

OculusMirrorTexture::OculusMirrorTexture ( ovrSession & session,
osg::ref_ptr< osg::State > state,
int width,
int height )

References height(), and width().

◆ ~OculusMirrorTexture()

virtual OculusMirrorTexture::~OculusMirrorTexture ( )
inlineprotectedvirtual

Member Function Documentation

◆ destroy()

void OculusMirrorTexture::destroy ( )

◆ width()

GLint OculusMirrorTexture::width ( ) const
inline

References m_width.

Referenced by blitTexture(), and OculusMirrorTexture().

◆ height()

GLint OculusMirrorTexture::height ( ) const
inline

References m_height.

Referenced by blitTexture(), and OculusMirrorTexture().

◆ blitTexture()

void OculusMirrorTexture::blitTexture ( osg::GraphicsContext * gc,
int width,
int height )

References height(), and width().

Member Data Documentation

◆ m_session

const ovrSession OculusMirrorTexture::m_session
protected

◆ m_texture

ovrMirrorTexture OculusMirrorTexture::m_texture
protected

◆ m_width

GLint OculusMirrorTexture::m_width
protected

Referenced by width().

◆ m_height

GLint OculusMirrorTexture::m_height
protected

Referenced by height().

◆ m_mirrorFBO

GLuint OculusMirrorTexture::m_mirrorFBO
protected

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