◆ OculusTextureBuffer()
| OculusTextureBuffer::OculusTextureBuffer |
( |
const ovrSession & | session, |
|
|
osg::ref_ptr< osg::State > | state, |
|
|
const ovrSizei & | size, |
|
|
int | msaaSamples ) |
◆ ~OculusTextureBuffer()
| virtual OculusTextureBuffer::~OculusTextureBuffer |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ destroy()
| void OculusTextureBuffer::destroy |
( |
| ) |
|
◆ textureWidth()
| int OculusTextureBuffer::textureWidth |
( |
| ) |
const |
|
inline |
◆ textureHeight()
| int OculusTextureBuffer::textureHeight |
( |
| ) |
const |
|
inline |
◆ samples()
| int OculusTextureBuffer::samples |
( |
| ) |
const |
|
inline |
◆ textureSwapChain()
| ovrTextureSwapChain OculusTextureBuffer::textureSwapChain |
( |
| ) |
const |
|
inline |
◆ colorBuffer()
| osg::ref_ptr< osg::Texture2D > OculusTextureBuffer::colorBuffer |
( |
| ) |
const |
|
inline |
◆ depthBuffer()
| osg::ref_ptr< osg::Texture2D > OculusTextureBuffer::depthBuffer |
( |
| ) |
const |
|
inline |
◆ onPreRender()
| void OculusTextureBuffer::onPreRender |
( |
osg::RenderInfo & | renderInfo | ) |
|
◆ onPostRender()
| void OculusTextureBuffer::onPostRender |
( |
osg::RenderInfo & | renderInfo | ) |
|
◆ setEnableTextureBlit()
| void OculusTextureBuffer::setEnableTextureBlit |
( |
bool | set, |
|
|
int | x, |
|
|
int | y ) |
◆ createProgram()
| GLuint OculusTextureBuffer::createProgram |
( |
const std::string & | name | ) |
|
|
protected |
◆ blitTexture()
| void OculusTextureBuffer::blitTexture |
( |
osg::State * | state, |
|
|
int | width, |
|
|
int | height ) |
|
protected |
◆ setup()
| void OculusTextureBuffer::setup |
( |
osg::State & | state | ) |
|
|
protected |
◆ setupMSAA()
| void OculusTextureBuffer::setupMSAA |
( |
osg::State & | state | ) |
|
|
protected |
◆ m_session
| const ovrSession OculusTextureBuffer::m_session |
|
protected |
◆ m_textureSwapChain
| ovrTextureSwapChain OculusTextureBuffer::m_textureSwapChain |
|
protected |
◆ m_colorBuffer
| osg::ref_ptr<osg::Texture2D> OculusTextureBuffer::m_colorBuffer |
|
protected |
◆ m_depthBuffer
| osg::ref_ptr<osg::Texture2D> OculusTextureBuffer::m_depthBuffer |
|
protected |
◆ m_textureSize
| osg::Vec2i OculusTextureBuffer::m_textureSize |
|
protected |
◆ m_Oculus_FBO
| GLuint OculusTextureBuffer::m_Oculus_FBO |
|
protected |
◆ m_MSAA_FBO
| GLuint OculusTextureBuffer::m_MSAA_FBO |
|
protected |
◆ m_MSAA_ColorTex
| GLuint OculusTextureBuffer::m_MSAA_ColorTex |
|
protected |
◆ m_MSAA_DepthTex
| GLuint OculusTextureBuffer::m_MSAA_DepthTex |
|
protected |
◆ m_samples
| int OculusTextureBuffer::m_samples |
|
protected |
◆ myCurrentTextureId
| GLuint OculusTextureBuffer::myCurrentTextureId |
|
protected |
◆ myShouldBlitTexture
| bool OculusTextureBuffer::myShouldBlitTexture |
|
protected |
◆ myDownsampleShader
| GLuint OculusTextureBuffer::myDownsampleShader |
|
protected |
◆ myBlitWidth
| int OculusTextureBuffer::myBlitWidth |
|
protected |
◆ myBlitHeight
| int OculusTextureBuffer::myBlitHeight |
|
protected |
The documentation for this class was generated from the following file: