UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
r_program_s Struct Reference

#include <r_program.h>

Data Fields

GLuint id
 
char name [MAX_VAR]
 
r_shader_tv
 
r_shader_tf
 
r_progvar_t vars [MAX_PROGRAM_VARS]
 
programInitFunc_t init
 
programUseFunc_t use
 
voiduserdata
 

Detailed Description

Definition at line 54 of file r_program.h.

Field Documentation

r_shader_t* r_program_s::f

fragment shader

Definition at line 58 of file r_program.h.

Referenced by R_LoadProgram(), and R_ShutdownProgram().

programInitFunc_t r_program_s::init

Definition at line 60 of file r_program.h.

Referenced by R_LoadProgram().

char r_program_s::name[MAX_VAR]

Definition at line 56 of file r_program.h.

Referenced by R_LoadProgram(), and R_ProgramVariable().

programUseFunc_t r_program_s::use

Definition at line 61 of file r_program.h.

Referenced by R_LoadProgram(), and R_UseProgram().

void* r_program_s::userdata
r_shader_t* r_program_s::v

vertex shader

Definition at line 57 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 59 of file r_program.h.

Referenced by R_ProgramVariable().


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