11 #ifndef SLGLOCULUSFB_H
12 #define SLGLOCULUSFB_H
static SLint scrHeight
Window height at start up.
static SLint scrWidth
Window width at start up.
Wrapper class around OpenGL Vertex Array Objects (VAO)
Wrapper around Oculus Rift and its Frame Buffer Objects.
void updateSize(SLint scrWidth, SLint scrHeight)
SLint _halfHeight
Half the width of the buffer.
SLuint _fbID
Half the height of the buffer.
SLint _height
Width of the buffer.
void bindFramebuffer(SLint scrWidth, SLint scrHeight)
void drawFramebuffer(SLGLProgram *stereoOculusProgram)
SLGLVertexArray _vao
OpenGL id of.
SLuint _depthRbID
OpenGL id of frame buffer.
SLint _halfWidth
Height of the buffer.
SLuint _texID
OpenGL id of depth render buffer.
Encapsulation of an OpenGL shader program object.
SLGLVertexArray encapsulates the core OpenGL drawing.