#include <shader.h>
Public Member Functions | |
int | init (Graphics *gfx) |
void | resize (int width, int height) |
void | Params (int type, int framestep) |
void | BloomParams (int dir, float amount, float strength, float scale, int xres, int yres) |
virtual void | prelink (void) |
Public Member Functions inherited from Shader | |
Shader () | |
int | init (Graphics *gfx, char *vertex_file, char *geometry_file, char *fragment_file) |
virtual void | Select () |
void | destroy () |
virtual | ~Shader () |
Public Attributes | |
unsigned int | image |
unsigned int | swap |
unsigned int | swap2 |
Private Attributes | |
int | texture0 |
int | texture1 |
int | texture2 |
int | tc_offset |
int | u_type |
int | u_time |
int | u_dir |
int | u_xres |
int | u_yres |
int | u_amount |
int | u_strength |
int | u_scale |
float | texCoordOffsets [18] |
Additional Inherited Members | |
Protected Attributes inherited from Shader | |
const char * | vertex_src |
const char * | geometry_src |
const char * | fragment_src |
int | program_handle |
int | vertex_handle |
int | geometry_handle |
int | fragment_handle |
void Post::BloomParams | ( | int | dir, |
float | amount, | ||
float | strength, | ||
float | scale, | ||
int | xres, | ||
int | yres | ||
) |
int Post::init | ( | Graphics * | gfx | ) |
void Post::Params | ( | int | type, |
int | framestep | ||
) |
|
virtual |
Implements Shader.
void Post::resize | ( | int | width, |
int | height | ||
) |
unsigned int Post::image |
unsigned int Post::swap |
unsigned int Post::swap2 |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |