Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
BIAS::FramebufferSetup Class Reference

#include <OpenGLFramework/Utils/FramebufferSetup.hh>

Public Member Functions

void ClearColorAttachments ()
 
void DisableColorClearance ()
 
void DisableDepthClearance ()
 
void EnableColorClearance (float red=0.0f, float green=0.0f, float blue=0.0f, float alpha=0.0f)
 
void EnableDepthClearance (float depth=1.0f)
 
void Execute ()
 
 FramebufferSetup ()
 
glfTexture2DGetColorAttachment2D (int AttachmentPoint)
 Returns texture attached to AttachmentPoint if it is a glfTexture2D otherwise NULL. More...
 
void LinkFBO (BIAS::glfFramebufferObject *fbo)
 
void SetColorAttachment (BIAS::glfTexture *texture, int AttachmentPoint=0)
 
void SetColorAttachments (const std::vector< BIAS::glfTexture * > &textures)
 replaces all previous color attachments and through given More...
 
void SetDepthAttachment (BIAS::glfTexture *texture)
 

Detailed Description

Definition at line 45 of file FramebufferSetup.hh.

Constructor & Destructor Documentation

FramebufferSetup::FramebufferSetup ( )

Definition at line 31 of file FramebufferSetup.cpp.

Member Function Documentation

void FramebufferSetup::ClearColorAttachments ( )
void FramebufferSetup::DisableColorClearance ( )
void FramebufferSetup::DisableDepthClearance ( )
void FramebufferSetup::EnableColorClearance ( float  red = 0.0f,
float  green = 0.0f,
float  blue = 0.0f,
float  alpha = 0.0f 
)
void FramebufferSetup::EnableDepthClearance ( float  depth = 1.0f)
void FramebufferSetup::Execute ( )
glfTexture2D * FramebufferSetup::GetColorAttachment2D ( int  AttachmentPoint)

Returns texture attached to AttachmentPoint if it is a glfTexture2D otherwise NULL.

Also returns NULL if not texture is attached to this attachmentpoint.

Definition at line 80 of file FramebufferSetup.cpp.

Referenced by BIAS::SimpleMultiPassFragmentShader::Execute().

void FramebufferSetup::LinkFBO ( BIAS::glfFramebufferObject fbo)

Definition at line 40 of file FramebufferSetup.cpp.

Referenced by BIAS::FramebufferSetupPool::CreateSetup().

void FramebufferSetup::SetColorAttachment ( BIAS::glfTexture texture,
int  AttachmentPoint = 0 
)
void FramebufferSetup::SetColorAttachments ( const std::vector< BIAS::glfTexture * > &  textures)

replaces all previous color attachments and through given

Definition at line 67 of file FramebufferSetup.cpp.

void FramebufferSetup::SetDepthAttachment ( BIAS::glfTexture texture)

The documentation for this class was generated from the following files: