This structure caches information about rendering a text in one font wrapped to a specific width. It points to structures in the chunkCache that cache detailed information and the textures used. More...
Data Fields | |
char | text [MAX_CACHE_STRING] |
const font_t * | font |
struct wrapCache_s * | next |
int | maxWidth |
longlines_t | method |
int | numChunks |
int | numLines |
int | chunkIdx |
qboolean | aborted |
This structure caches information about rendering a text in one font wrapped to a specific width. It points to structures in the chunkCache that cache detailed information and the textures used.
Definition at line 69 of file r_font.c.
true if we can't finish the chunk generation
Definition at line 78 of file r_font.c.
Referenced by R_FontWrapText().
first chunk in chunkCache for this text
Definition at line 77 of file r_font.c.
Referenced by R_FontDrawString(), R_FontTextSize(), and R_FontWrapText().
const font_t* wrapCache_s::font |
font used for wrapping/rendering this text
Definition at line 71 of file r_font.c.
Referenced by R_FontWrapText().
width to which this text was wrapped
Definition at line 73 of file r_font.c.
Referenced by R_FontWrapText().
were long lines wrapped or truncated?
Definition at line 74 of file r_font.c.
Referenced by R_FontWrapText().
struct wrapCache_s* wrapCache_s::next |
next hash entry in case of collision
Definition at line 72 of file r_font.c.
Referenced by R_FontListCache_f(), and R_FontWrapText().
number of (contiguous) chunks in chunkCache used
Definition at line 75 of file r_font.c.
Referenced by R_FontDrawString(), R_FontTextSize(), and R_FontWrapText().
total line count of wrapped text
Definition at line 76 of file r_font.c.
Referenced by R_FontDrawString(), R_FontTextSize(), and R_FontWrapText().
char wrapCache_s::text[MAX_CACHE_STRING] |
hash id
Definition at line 70 of file r_font.c.
Referenced by R_FontListCache_f(), and R_FontWrapText().