VR-Vantage 3.0.3 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
fbObject Class Reference

Public Member Functions

 fbObject (int width, int height, GLenum target, GLenum texInternalFormat)
 ~fbObject ()
void Activate (bool clear=false)
void Deactivate ()
void Bind ()
void Release ()
int GetWidth ()
int GetHeight ()

Private Member Functions

void CheckFramebufferStatus ()

Private Attributes

GLuint m_fbo
GLuint m_tex
GLenum m_target
int m_width
int m_height

Constructor & Destructor Documentation

fbObject::fbObject ( int  width,
int  height,
GLenum  target,
GLenum  texInternalFormat 
)
fbObject::~fbObject ( )

Member Function Documentation

void fbObject::Activate ( bool  clear = false)
void fbObject::Deactivate ( )
void fbObject::Bind ( )
inline

References glBindTexture(), m_target, and m_tex.

void fbObject::Release ( )
inline
int fbObject::GetWidth ( )
inline

References m_width.

int fbObject::GetHeight ( )
inline

References m_height.

void fbObject::CheckFramebufferStatus ( )
private

Member Data Documentation

GLuint fbObject::m_fbo
private
GLuint fbObject::m_tex
private

Referenced by Bind().

GLenum fbObject::m_target
private

Referenced by Bind().

int fbObject::m_width
private

Referenced by GetWidth().

int fbObject::m_height
private

Referenced by GetHeight().


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


Copyright © 2005-2023 MAK Technologies. All Rights Reserved (www.mak.com)