The Fbo class.
More...
#include <display.hpp>
|
| Fbo () |
|
bool | create (int width, int height, bool bDepth) |
| create More...
|
|
bool | create (int width, int height, int depth, bool bDepth, GLuint tex) |
| create More...
|
|
bool | createMRT (int width, int height, bool bDepth, unsigned int nMRT) |
| create More...
|
|
void | attachColorBuffer (GLuint tex, GLenum target, int slice=0) |
| attachColorBuffer More...
|
|
void | attachColorBuffer2 (GLuint tex, GLenum target, int slice) |
| attachColorBuffer2 More...
|
|
bool | release () |
| release More...
|
|
void | bind () |
| bind More...
|
|
void | unbind () |
| unbind More...
|
|
void | bindSimple () |
| bindSimple More...
|
|
void | unbindSimple () |
| unbindSimple More...
|
|
void | bindMRT () |
| bindMRT More...
|
|
void | unbindMRT () |
| unbind More...
|
|
Fbo * | clone () |
| clone More...
|
|
◆ Fbo()
◆ attachColorBuffer()
PIC_INLINE void pic::Fbo::attachColorBuffer |
( |
GLuint |
tex, |
|
|
GLenum |
target, |
|
|
int |
slice = 0 |
|
) |
| |
attachColorBuffer
- Parameters
-
◆ attachColorBuffer2()
PIC_INLINE void pic::Fbo::attachColorBuffer2 |
( |
GLuint |
tex, |
|
|
GLenum |
target, |
|
|
int |
slice |
|
) |
| |
attachColorBuffer2
- Parameters
-
◆ bind()
◆ bindMRT()
◆ bindSimple()
void pic::pic::Fbo::bindSimple |
( |
| ) |
|
|
inline |
◆ checkStatus()
static void pic::pic::Fbo::checkStatus |
( |
GLenum |
fboStatus | ) |
|
|
inlinestatic |
◆ clone()
◆ create() [1/2]
PIC_INLINE bool pic::Fbo::create |
( |
int |
width, |
|
|
int |
height, |
|
|
bool |
bDepth |
|
) |
| |
create
- Parameters
-
width | |
height | |
depth | |
bDepth | |
tex | |
- Returns
◆ create() [2/2]
PIC_INLINE bool pic::Fbo::create |
( |
int |
width, |
|
|
int |
height, |
|
|
int |
depth, |
|
|
bool |
bDepth, |
|
|
GLuint |
tex |
|
) |
| |
create
- Parameters
-
- Returns
◆ createMRT()
PIC_INLINE bool pic::Fbo::createMRT |
( |
int |
width, |
|
|
int |
height, |
|
|
bool |
bDepth, |
|
|
unsigned int |
nMRT |
|
) |
| |
create
- Parameters
-
- Returns
◆ release()
◆ unbind()
◆ unbindMRT()
◆ unbindSimple()
void pic::pic::Fbo::unbindSimple |
( |
| ) |
|
|
inline |
◆ attachmentsMRT
GLuint* pic::pic::Fbo::attachmentsMRT |
◆ bDepth
bool pic::pic::Fbo::bDepth |
◆ depth
GLuint pic::pic::Fbo::depth |
◆ fbo
GLuint pic::pic::Fbo::fbo |
◆ frames
int pic::pic::Fbo::frames |
◆ height
int pic::pic::Fbo::height |
◆ nMRT
unsigned int pic::pic::Fbo::nMRT |
◆ tex
GLuint pic::pic::Fbo::tex |
◆ texMRT
GLuint* pic::pic::Fbo::texMRT |
◆ width
The documentation for this class was generated from the following files:
- C:/Users/Francesco/Documents/GitHub/piccante/include/util/gl/display.hpp
- C:/Users/Francesco/Documents/GitHub/piccante/include/util/gl/fbo.hpp