Olive
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | Private Attributes | List of all members
FramebufferObject Class Reference

#include <framebufferobject.h>

Public Member Functions

 FramebufferObject ()
 
 ~FramebufferObject ()
 
bool IsCreated ()
 
void Create (QOpenGLContext *ctx, int width, int height)
 
void Destroy ()
 
const GLuint & buffer ()
 
const GLuint & texture ()
 

Private Attributes

QOpenGLContext * ctx_
 
GLuint buffer_
 
GLuint texture_
 

Constructor & Destructor Documentation

FramebufferObject::FramebufferObject ( )
FramebufferObject::~FramebufferObject ( )

Member Function Documentation

const GLuint & FramebufferObject::buffer ( )
void FramebufferObject::Create ( QOpenGLContext *  ctx,
int  width,
int  height 
)
void FramebufferObject::Destroy ( )
bool FramebufferObject::IsCreated ( )
const GLuint & FramebufferObject::texture ( )

Member Data Documentation

GLuint FramebufferObject::buffer_
private
QOpenGLContext* FramebufferObject::ctx_
private
GLuint FramebufferObject::texture_
private

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