r_program_s Struct Reference

#include <r_program.h>

Collaboration diagram for r_program_s:
Collaboration graph
[legend]

Data Fields

GLuint id
char name [MAX_VAR]
r_shader_tv
r_shader_tf
r_progvar_t vars [MAX_PROGRAM_VARS]
void(* init )(struct r_program_s *prog)
void(* use )(struct r_program_s *prog)
void * userdata

Detailed Description

Definition at line 48 of file r_program.h.


Field Documentation

fragment shader

Definition at line 52 of file r_program.h.

Referenced by R_LoadProgram(), and R_ShutdownProgram().

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().

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().


The documentation for this struct was generated from the following file:

Generated by  doxygen 1.6.2