UFO: Alien Invasion
char_arrays_t Struct Reference

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

Collaboration diagram for char_arrays_t:
Collaboration graph

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

◆ color_index

int char_arrays_t::color_index

Definition at line 52 of file r_draw.cpp.

Referenced by R_DrawChar(), and R_DrawChars().

◆ colors

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

Definition at line 51 of file r_draw.cpp.

Referenced by R_DrawChar(), and R_DrawChars().

◆ texcoord_index

int char_arrays_t::texcoord_index

Definition at line 46 of file r_draw.cpp.

Referenced by R_DrawChar(), and R_DrawChars().

◆ texcoords

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

Definition at line 45 of file r_draw.cpp.

Referenced by R_DrawChar(), and R_DrawChars().

◆ vert_index

int char_arrays_t::vert_index

Definition at line 49 of file r_draw.cpp.

Referenced by R_DrawChar(), and R_DrawChars().

◆ verts

GLshort char_arrays_t::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: