#include <FrameBufferObject.h>
|
| FrameBufferObject (bool depthTexture=false, bool enableDepth=true, bool enableColor=true, bool enableMipMap=false, GLint defaultWindowFramebuffer=getCurrentFramebufferID()) |
|
virtual | ~FrameBufferObject () |
|
| FrameBufferObject (const fboParameters &FboFormat, bool depthTexture=false, bool enableDepth=true, bool enableColor=true, bool enableMipMap=false, GLint defaultWindowFramebuffer=getCurrentFramebufferID()) |
|
void | setFormat (const fboParameters &fboParams) |
|
void | init (unsigned int width, unsigned height) |
|
void | destroy () |
|
void | reinit (unsigned int width, unsigned height, bool lDepthTexture, bool lEnableDepth, bool lEnableColor) |
|
void | start () |
|
void | stop () |
|
bool | checkFBO () |
|
void | setSize (unsigned int width, unsigned height) |
|
GLuint | getID () |
|
GLuint | getDepthTexture () |
|
GLuint | getColorTexture () |
|
void | createDepthBuffer () |
|
void | createColorBuffer () |
|
void | initDepthBuffer () |
|
void | initColorBuffer () |
|
sofa::helper::gl::FrameBufferObject::FrameBufferObject |
( |
bool |
depthTexture = false , |
|
|
bool |
enableDepth = true , |
|
|
bool |
enableColor = true , |
|
|
bool |
enableMipMap = false , |
|
|
GLint |
defaultWindowFramebuffer = getCurrentFramebufferID() |
|
) |
| |
sofa::helper::gl::FrameBufferObject::~FrameBufferObject |
( |
| ) |
|
|
virtual |
sofa::helper::gl::FrameBufferObject::FrameBufferObject |
( |
const fboParameters & |
FboFormat, |
|
|
bool |
depthTexture = false , |
|
|
bool |
enableDepth = true , |
|
|
bool |
enableColor = true , |
|
|
bool |
enableMipMap = false , |
|
|
GLint |
defaultWindowFramebuffer = getCurrentFramebufferID() |
|
) |
| |
bool sofa::helper::gl::FrameBufferObject::checkFBO |
( |
| ) |
|
void sofa::helper::gl::FrameBufferObject::createColorBuffer |
( |
| ) |
|
void sofa::helper::gl::FrameBufferObject::createDepthBuffer |
( |
| ) |
|
void sofa::helper::gl::FrameBufferObject::destroy |
( |
| ) |
|
GLuint sofa::helper::gl::FrameBufferObject::getColorTexture |
( |
| ) |
|
GLuint sofa::helper::gl::FrameBufferObject::getDepthTexture |
( |
| ) |
|
GLuint sofa::helper::gl::FrameBufferObject::getID |
( |
| ) |
|
void sofa::helper::gl::FrameBufferObject::init |
( |
unsigned int |
width, |
|
|
unsigned |
height |
|
) |
| |
void sofa::helper::gl::FrameBufferObject::initColorBuffer |
( |
| ) |
|
void sofa::helper::gl::FrameBufferObject::initDepthBuffer |
( |
| ) |
|
void sofa::helper::gl::FrameBufferObject::reinit |
( |
unsigned int |
width, |
|
|
unsigned |
height, |
|
|
bool |
lDepthTexture, |
|
|
bool |
lEnableDepth, |
|
|
bool |
lEnableColor |
|
) |
| |
void sofa::helper::gl::FrameBufferObject::setFormat |
( |
const fboParameters & |
fboParams | ) |
|
|
inline |
void sofa::helper::gl::FrameBufferObject::setSize |
( |
unsigned int |
width, |
|
|
unsigned |
height |
|
) |
| |
void sofa::helper::gl::FrameBufferObject::start |
( |
| ) |
|
void sofa::helper::gl::FrameBufferObject::stop |
( |
| ) |
|