LibreOffice Module vcl (master)  1
Public Member Functions | Static Public Member Functions | Public Attributes | Private Attributes | List of all members
OpenGLFramebuffer Class Referencefinal

#include <framebuffer.hxx>

Collaboration diagram for OpenGLFramebuffer:
[legend]

Public Member Functions

 OpenGLFramebuffer ()
 
 ~OpenGLFramebuffer ()
 
int GetWidth () const
 
int GetHeight () const
 
void Bind (GLenum eTarget=GL_FRAMEBUFFER)
 
bool IsFree () const
 
bool IsAttached (GLuint nTexture) const
 
bool IsAttached (const OpenGLTexture &rTexture) const
 
void AttachTexture (const OpenGLTexture &rTexture)
 
void DetachTexture ()
 

Static Public Member Functions

static void Unbind (GLenum eTarget=GL_FRAMEBUFFER)
 

Public Attributes

OpenGLFramebuffermpPrevFramebuffer
 

Private Attributes

GLuint mnId
 
int mnWidth
 
int mnHeight
 
GLuint mnAttachedTexture
 

Detailed Description

Definition at line 17 of file framebuffer.hxx.

Constructor & Destructor Documentation

OpenGLFramebuffer::OpenGLFramebuffer ( )
OpenGLFramebuffer::~OpenGLFramebuffer ( )

Member Function Documentation

void OpenGLFramebuffer::AttachTexture ( const OpenGLTexture rTexture)
void OpenGLFramebuffer::Bind ( GLenum  eTarget = GL_FRAMEBUFFER)
void OpenGLFramebuffer::DetachTexture ( )
int OpenGLFramebuffer::GetHeight ( ) const
inline

Definition at line 30 of file framebuffer.hxx.

Referenced by OpenGLContext::AcquireFramebuffer().

int OpenGLFramebuffer::GetWidth ( ) const
inline

Definition at line 29 of file framebuffer.hxx.

Referenced by OpenGLContext::AcquireFramebuffer().

bool OpenGLFramebuffer::IsAttached ( GLuint  nTexture) const
bool OpenGLFramebuffer::IsAttached ( const OpenGLTexture rTexture) const
bool OpenGLFramebuffer::IsFree ( ) const
static void OpenGLFramebuffer::Unbind ( GLenum  eTarget = GL_FRAMEBUFFER)
static

Member Data Documentation

GLuint OpenGLFramebuffer::mnAttachedTexture
private

Definition at line 23 of file framebuffer.hxx.

int OpenGLFramebuffer::mnHeight
private

Definition at line 22 of file framebuffer.hxx.

GLuint OpenGLFramebuffer::mnId
private

Definition at line 20 of file framebuffer.hxx.

int OpenGLFramebuffer::mnWidth
private

Definition at line 21 of file framebuffer.hxx.

OpenGLFramebuffer* OpenGLFramebuffer::mpPrevFramebuffer

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