nux-0.9.46
|
#include <NuxGraphics/GLPBuffer.h>
Public Member Functions | |
PBuffer (const char *strMode, bool managed=false) | |
~PBuffer () | |
bool | Initialize (int iWidth, int iHeight, bool bShareContexts, bool bShareObjects) |
void | Destroy () |
void | Activate (PBuffer *current=NULL) |
void | Deactivate () |
unsigned int | GetSizeInBytes () |
unsigned int | CopyToBuffer (void *ptr, int w=-1, int h=-1) |
int | GetNumComponents () |
int | GetBitsPerComponent () |
int | GetWidth () |
int | GetHeight () |
bool | IsSharedContext () |
Protected Attributes | |
int | m_iWidth |
int | m_iHeight |
int | m_iNComponents |
int | m_iBitsPerComponent |
const char * | m_strMode |
bool | m_bSharedContext |
bool | m_bShareObjects |
nux::PBuffer::PBuffer | ( | const char * | strMode, |
bool | managed = false |
||
) |
nux::PBuffer::~PBuffer | ( | ) |
void nux::PBuffer::Activate | ( | PBuffer * | current = NULL | ) |
unsigned int nux::PBuffer::CopyToBuffer | ( | void * | ptr, |
int | w = -1 , |
||
int | h = -1 |
||
) |
void nux::PBuffer::Deactivate | ( | ) |
void nux::PBuffer::Destroy | ( | ) |
int nux::PBuffer::GetBitsPerComponent | ( | ) | [inline] |
References m_iBitsPerComponent.
int nux::PBuffer::GetHeight | ( | ) | [inline] |
References m_iHeight.
int nux::PBuffer::GetNumComponents | ( | ) | [inline] |
References m_iNComponents.
unsigned int nux::PBuffer::GetSizeInBytes | ( | ) |
int nux::PBuffer::GetWidth | ( | ) | [inline] |
References m_iWidth.
bool nux::PBuffer::Initialize | ( | int | iWidth, |
int | iHeight, | ||
bool | bShareContexts, | ||
bool | bShareObjects | ||
) |
bool nux::PBuffer::IsSharedContext | ( | ) | [inline] |
References m_bSharedContext.
bool nux::PBuffer::m_bSharedContext [protected] |
Referenced by IsSharedContext().
bool nux::PBuffer::m_bShareObjects [protected] |
int nux::PBuffer::m_iBitsPerComponent [protected] |
Referenced by GetBitsPerComponent().
int nux::PBuffer::m_iHeight [protected] |
Referenced by GetHeight().
int nux::PBuffer::m_iNComponents [protected] |
Referenced by GetNumComponents().
int nux::PBuffer::m_iWidth [protected] |
Referenced by GetWidth().
const char* nux::PBuffer::m_strMode [protected] |