#include <pbuffer.h>
Definition at line 57 of file pbuffer.h.
Public Member Functions | |
PBuffer (int xDim, int yDim, unsigned int mode, PBuffRenCTX renderCTX=NULL) | |
virtual | ~PBuffer () |
void | enable (bool saveState=false) |
void | disable () |
void | bind () |
void | release () |
void | setSurface (GLenum surface) |
void | setMipLevel (int level) |
void | setCubeFace (GLenum cubeFace) |
void | dimen (int &xDim, int &yDim) const |
unsigned int | mode () const |
PBuffRenCTX | renderCTX () const |
bool | hasRendToTex () const |
bool | hasMipMap () const |
bool | hasCube () const |
int | numSurfaces () const |
Static Public Member Functions | |
void | clearCache () |
int | numSurfaces (unsigned int mode) |
|
Definition at line 27 of file pbuffer.cpp. References mode. |
|
Definition at line 64 of file pbuffer.cpp. References glXDestroyPbuffer, and glXGetCurrentDisplay. |
|
Definition at line 200 of file pbuffer.cpp. Referenced by glift::PBuffGlift::bindDef(). |
|
|
|
Definition at line 90 of file pbuffer.h. Referenced by glift::PBuffGlift::dimen(). |
|
make sure the pbuffer has been initialized Linux Definition at line 288 of file pbuffer.cpp. References glDrawBuffer(), glErr(), glReadBuffer(), glXGetCurrentContext(), glXGetCurrentDisplay, and glXMakeCurrent(). Referenced by glift::PBuffGlift::disable(). |
|
Avoid the ctxt switch if we are already current. Always-Saved state /// * \/\/\/\/ AEL 5/23/02 from here down based on Milan's code set read/write context to pbuffer draw & read the front m_buffer of pbuffer resize view port. generally you'll want to set this to the size of your pbuffer so that you render to the entire pbuffer but there are cases where you might want to render to just a sub-region of the pbuffer. TODO: Does this need to be here? Definition at line 216 of file pbuffer.cpp. References GL_DRAW_BUFFER, GL_FRONT, GL_READ_BUFFER, GL_VIEWPORT, glDrawBuffer(), glErr(), glGetIntegerv(), glReadBuffer(), glXGetCurrentContext(), glXGetCurrentDisplay, and glXMakeCurrent(). Referenced by glift::PBuffGlift::enable(). |
|
Definition at line 97 of file pbuffer.h. References PBUFF_CUBE. Referenced by glift::PBuffGlift::hasCube(). |
|
Definition at line 96 of file pbuffer.h. References PBUFF_MIPMAP. Referenced by glift::PBuffGlift::hasMipMap(). |
|
Definition at line 95 of file pbuffer.h. References PBUFF_REND_TO_TEX. Referenced by glift::PBuffGlift::hasRendToTex(). |
|
Definition at line 91 of file pbuffer.h. Referenced by glift::PBuffGlift::mode(). |
|
|
|
Definition at line 79 of file pbuffer.cpp. References mode, n, PBUFF_AUX1, PBUFF_AUX2, PBUFF_AUX3, PBUFF_AUX4, PBUFF_AUX5, PBUFF_AUX6, PBUFF_AUX7, PBUFF_AUX8, PBUFF_DOUBLE, and PBUFF_SINGLE. Referenced by glift::PBuffGlift::numSurfaces(). |
|
Definition at line 209 of file pbuffer.cpp. Referenced by glift::PBuffGlift::releaseDef(). |
|
Definition at line 92 of file pbuffer.h. References PBuffRenCTX. Referenced by glift::PBuffGlift::renderCTX(). |
|
Definition at line 181 of file pbuffer.cpp. Referenced by glift::PBuffGlift::setCubeFace(). |
|
Definition at line 163 of file pbuffer.cpp. References level. Referenced by glift::PBuffGlift::setMipLevel(). |
|
Definition at line 142 of file pbuffer.cpp. Referenced by glift::PBuffGlift::setSurface(). |