#include <shader.h>
Public Member Functions | |
int | init (Graphics *gfx) |
void | Params (matrix4 &mvp, int depth=0) |
virtual void | prelink (void) |
virtual | ~Global () |
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 () |
Private Attributes | |
int | matrix |
int | texture0 |
int | u_depth |
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 |
|
virtual |
int Global::init | ( | Graphics * | gfx | ) |
void Global::Params | ( | matrix4 & | mvp, |
int | depth = 0 |
||
) |
|
virtual |
Implements Shader.
|
private |
|
private |
|
private |