#include <r_program.h>
Data Fields | |
GLuint | id |
char | name [MAX_VAR] |
r_shader_t * | v |
r_shader_t * | f |
r_progvar_t | vars [MAX_PROGRAM_VARS] |
void(* | init )(struct r_program_s *prog) |
void(* | use )(struct r_program_s *prog) |
void * | userdata |
Definition at line 48 of file r_program.h.
fragment shader
Definition at line 52 of file r_program.h.
Referenced by R_LoadProgram(), and R_ShutdownProgram().
GLuint r_program_s::id |
Definition at line 49 of file r_program.h.
Referenced by R_EnableBlur(), R_EnableLighting(), R_EnableWarp(), R_LoadProgram(), R_ProgramVariable(), R_ShutdownProgram(), R_ShutdownPrograms(), and R_UseProgram().
void(* r_program_s::init)(struct r_program_s *prog) |
Referenced by R_LoadProgram().
char r_program_s::name[MAX_VAR] |
Definition at line 50 of file r_program.h.
Referenced by PTL_DebugList_f(), R_LoadProgram(), and R_ProgramVariable().
void(* r_program_s::use)(struct r_program_s *prog) |
Referenced by R_LoadProgram(), and R_UseProgram().
void* r_program_s::userdata |
Definition at line 56 of file r_program.h.
Referenced by CL_ParseMapParticle(), CL_ParticleFunction(), R_EnableBlur(), and R_UseConvolveProgram().
vertex shader
Definition at line 51 of file r_program.h.
Referenced by R_LoadProgram(), and R_ShutdownProgram().
r_progvar_t r_program_s::vars[MAX_PROGRAM_VARS] |
Definition at line 53 of file r_program.h.
Referenced by R_ProgramVariable().