#include <HDR.h>

Public Member Functions | |
| HDR (int width_in, int height_in, int filter_levels=5) | |
| ~HDR () | |
| void | blur (PHsurface *sources, PHsurface *dests, int count, Direction dir) |
| void | init () |
| void | drawBegin () |
| void | drawEnd () |
| void | setFilterLevel (int filter_level_in) |
| void | setBlurLevel (int blur_level_in) |
| void | drawOpen () |
| void | drawClear () |
| void | drawClose () |
| void | setViewSize (int width_in, int height_in) |
| void | clear () |
Public Attributes | |
| PHsurface | scene |
| int | buffer_width |
| int | buffer_height |
| int | view_width |
| int | view_height |
Protected Attributes | |
| PHsurface | window |
| PHsurface | pass0 [HDR_FILTER_MAX] |
| PHsurface | pass1 [HDR_FILTER_MAX] |
| PHsurface | mblur [HDR_BLUR_MAX] |
| GLuint | sphereVerts |
| GLuint | sphereFaces |
| GLuint | blitProg |
| GLuint | combineProg |
| GLuint | filterProg |
| GLuint | hiPassProg |
| int | blur_step |
| float * | kernel |
| bool | initialized |
| bool | buffer_open |
| int | filter_levels |
| int | blur_levels |
| HDR::HDR | ( | int | width_in, | |
| int | height_in, | |||
| int | filter_levels = 5 | |||
| ) |
| HDR::~HDR | ( | ) |


| void HDR::init | ( | ) |

| void HDR::drawBegin | ( | ) |

| void HDR::drawEnd | ( | ) |

| void HDR::setFilterLevel | ( | int | filter_level_in | ) |

| void HDR::setBlurLevel | ( | int | blur_level_in | ) |

| void HDR::drawOpen | ( | ) |

| void HDR::drawClear | ( | ) |

| void HDR::drawClose | ( | ) |

| void HDR::setViewSize | ( | int | width_in, | |
| int | height_in | |||
| ) |

| void HDR::clear | ( | ) |

PHsurface HDR::window [protected] |
PHsurface HDR::pass0[HDR_FILTER_MAX] [protected] |
PHsurface HDR::pass1[HDR_FILTER_MAX] [protected] |
PHsurface HDR::mblur[HDR_BLUR_MAX] [protected] |
GLuint HDR::sphereVerts [protected] |
GLuint HDR::sphereFaces [protected] |
GLuint HDR::blitProg [protected] |
GLuint HDR::combineProg [protected] |
GLuint HDR::filterProg [protected] |
GLuint HDR::hiPassProg [protected] |
int HDR::blur_step [protected] |
float* HDR::kernel [protected] |
bool HDR::initialized [protected] |
bool HDR::buffer_open [protected] |
int HDR::filter_levels [protected] |
int HDR::blur_levels [protected] |
| int HDR::view_width |
| int HDR::view_height |
1.5.6