#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 () |
| |
◆ FrameBufferObject() [1/2]
| sofa::gl::FrameBufferObject::FrameBufferObject |
( |
bool |
depthTexture = false, |
|
|
bool |
enableDepth = true, |
|
|
bool |
enableColor = true, |
|
|
bool |
enableMipMap = false, |
|
|
GLint |
defaultWindowFramebuffer = getCurrentFramebufferID() |
|
) |
| |
◆ ~FrameBufferObject()
| sofa::gl::FrameBufferObject::~FrameBufferObject |
( |
| ) |
|
|
virtual |
◆ FrameBufferObject() [2/2]
| sofa::gl::FrameBufferObject::FrameBufferObject |
( |
const fboParameters & |
FboFormat, |
|
|
bool |
depthTexture = false, |
|
|
bool |
enableDepth = true, |
|
|
bool |
enableColor = true, |
|
|
bool |
enableMipMap = false, |
|
|
GLint |
defaultWindowFramebuffer = getCurrentFramebufferID() |
|
) |
| |
◆ checkFBO()
| bool sofa::gl::FrameBufferObject::checkFBO |
( |
| ) |
|
◆ createColorBuffer()
| void sofa::gl::FrameBufferObject::createColorBuffer |
( |
| ) |
|
◆ createDepthBuffer()
| void sofa::gl::FrameBufferObject::createDepthBuffer |
( |
| ) |
|
◆ destroy()
| void sofa::gl::FrameBufferObject::destroy |
( |
| ) |
|
◆ getColorTexture()
| GLuint sofa::gl::FrameBufferObject::getColorTexture |
( |
| ) |
|
◆ getDepthTexture()
| GLuint sofa::gl::FrameBufferObject::getDepthTexture |
( |
| ) |
|
◆ getID()
| GLuint sofa::gl::FrameBufferObject::getID |
( |
| ) |
|
◆ init()
◆ initColorBuffer()
| void sofa::gl::FrameBufferObject::initColorBuffer |
( |
| ) |
|
◆ initDepthBuffer()
| void sofa::gl::FrameBufferObject::initDepthBuffer |
( |
| ) |
|
◆ reinit()
◆ setFormat()
| void sofa::gl::FrameBufferObject::setFormat |
( |
const fboParameters & |
fboParams | ) |
|
|
inline |
◆ setSize()
◆ start()
| void sofa::gl::FrameBufferObject::start |
( |
| ) |
|
◆ stop()
| void sofa::gl::FrameBufferObject::stop |
( |
| ) |
|