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:

Public Member Functions

 OpenGLFramebuffer ()
 ~OpenGLFramebuffer ()
int GetWidth () const
int GetHeight () const
void Bind (GLenum eTarget=GL_FRAMEBUFFER)
VCL_DLLPUBLIC 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


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

Definition at line 30 of file framebuffer.hxx.

References mnHeight.

Referenced by OpenGLContext::AcquireFramebuffer().

int OpenGLFramebuffer::GetWidth ( ) const

Definition at line 29 of file framebuffer.hxx.

References mnWidth.

Referenced by OpenGLContext::AcquireFramebuffer().

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

Member Data Documentation

GLuint OpenGLFramebuffer::mnAttachedTexture

Definition at line 23 of file framebuffer.hxx.

int OpenGLFramebuffer::mnHeight

Definition at line 22 of file framebuffer.hxx.

Referenced by GetHeight().

GLuint OpenGLFramebuffer::mnId

Definition at line 20 of file framebuffer.hxx.

int OpenGLFramebuffer::mnWidth

Definition at line 21 of file framebuffer.hxx.

Referenced by GetWidth().

OpenGLFramebuffer* OpenGLFramebuffer::mpPrevFramebuffer

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