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

Characters are batched per frame and drawn in one shot accumulate coordinates and colors as vertex arrays. More...

Data Fields

GLfloat texcoords [MAX_CHARS *4 *2]
 
int texcoord_index
 
GLshort verts [MAX_CHARS *4 *2]
 
int vert_index
 
GLbyte colors [MAX_CHARS *4 *4]
 
int color_index
 

Detailed Description

Characters are batched per frame and drawn in one shot accumulate coordinates and colors as vertex arrays.

Definition at line 44 of file r_draw.cpp.

Field Documentation

int char_arrays_s::color_index

Definition at line 52 of file r_draw.cpp.

Referenced by R_DrawChar(), and R_DrawChars().

GLbyte char_arrays_s::colors[MAX_CHARS *4 *4]

Definition at line 51 of file r_draw.cpp.

Referenced by R_DrawChar(), and R_DrawChars().

int char_arrays_s::texcoord_index

Definition at line 46 of file r_draw.cpp.

Referenced by R_DrawChar(), and R_DrawChars().

GLfloat char_arrays_s::texcoords[MAX_CHARS *4 *2]

Definition at line 45 of file r_draw.cpp.

Referenced by R_DrawChar(), and R_DrawChars().

int char_arrays_s::vert_index

Definition at line 49 of file r_draw.cpp.

Referenced by R_DrawChar(), and R_DrawChars().

GLshort char_arrays_s::verts[MAX_CHARS *4 *2]

Definition at line 48 of file r_draw.cpp.

Referenced by R_DrawChar(), and R_DrawChars().


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