PICCANTE  0.4
The hottest HDR imaging library!
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
pic::pic::BufferOpGL Class Reference

The BufferOpGL class. More...

#include <display.hpp>

Public Member Functions

 BufferOpGL (std::string op, bool bTexelFetch, float *c0, float *c1)
 BufferOpGL. More...
 
void update (const float *c0, const float *c1)
 update More...
 
void update (float c0, float c1)
 update More...
 
void Process (GLuint tex0, GLuint tex1, GLuint texOut, int width, int height)
 Process. More...
 

Public Attributes

std::string vertex_source
 
std::string geometry_source
 
std::string fragment_source
 

Protected Member Functions

void initShaders ()
 initShaders More...
 

Protected Attributes

Fbofbo
 
QuadGLquad
 
TechniqueGL technique
 
GLenum target
 
std::string op
 
float c0 [4]
 
float c1 [4]
 
bool bTexelFetch
 

Detailed Description

The BufferOpGL class.

Constructor & Destructor Documentation

◆ BufferOpGL()

PIC_INLINE pic::pic::BufferOpGL::BufferOpGL ( std::string  op,
bool  bTexelFetch = false,
float *  c0 = NULL,
float *  c1 = NULL 
)

BufferOpGL.

Parameters
op
bTexelFetch
c0
c1

Member Function Documentation

◆ initShaders()

PIC_INLINE void pic::pic::BufferOpGL::initShaders ( )
protected

initShaders

◆ Process()

PIC_INLINE void pic::pic::BufferOpGL::Process ( GLuint  tex0,
GLuint  tex1,
GLuint  texOut,
int  width,
int  height 
)

Process.

Parameters
tex0
tex1
texOut
width
height

◆ update() [1/2]

PIC_INLINE void pic::pic::BufferOpGL::update ( const float *  c0,
const float *  c1 = NULL 
)

update

Parameters
c0
c1

◆ update() [2/2]

PIC_INLINE void pic::pic::BufferOpGL::update ( float  c0 = 0.0f,
float  c1 = 0.0f 
)

update

Parameters
c0
c1

Member Data Documentation

◆ bTexelFetch

bool pic::pic::BufferOpGL::bTexelFetch
protected

◆ c0

float pic::pic::BufferOpGL::c0[4]
protected

◆ c1

float pic::pic::BufferOpGL::c1[4]
protected

◆ fbo

Fbo* pic::pic::BufferOpGL::fbo
protected

◆ fragment_source

std::string pic::pic::BufferOpGL::fragment_source

◆ geometry_source

std::string pic::pic::BufferOpGL::geometry_source

◆ op

std::string pic::pic::BufferOpGL::op
protected

◆ quad

QuadGL* pic::pic::BufferOpGL::quad
protected

◆ target

GLenum pic::pic::BufferOpGL::target
protected

◆ technique

TechniqueGL pic::pic::BufferOpGL::technique
protected

◆ vertex_source

std::string pic::pic::BufferOpGL::vertex_source

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