|
UFO: Alien Invasion
|
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 |
| bool | 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.cpp.
| bool wrapCache_t::aborted |
true if we can't finish the chunk generation
Definition at line 78 of file r_font.cpp.
Referenced by R_FontWrapText().
| int wrapCache_t::chunkIdx |
first chunk in chunkCache for this text
Definition at line 77 of file r_font.cpp.
Referenced by R_FontDrawString(), R_FontTextSize(), and R_FontWrapText().
| const font_t* wrapCache_t::font |
font used for wrapping/rendering this text
Definition at line 71 of file r_font.cpp.
Referenced by R_FontWrapText().
| int wrapCache_t::maxWidth |
width to which this text was wrapped
Definition at line 73 of file r_font.cpp.
Referenced by R_FontWrapText().
| longlines_t wrapCache_t::method |
were long lines wrapped or truncated?
Definition at line 74 of file r_font.cpp.
Referenced by R_FontWrapText().
| struct wrapCache_s* wrapCache_t::next |
next hash entry in case of collision
Definition at line 72 of file r_font.cpp.
Referenced by R_FontListCache_f(), and R_FontWrapText().
| int wrapCache_t::numChunks |
number of (contiguous) chunks in chunkCache used
Definition at line 75 of file r_font.cpp.
Referenced by R_FontDrawString(), R_FontTextSize(), and R_FontWrapText().
| int wrapCache_t::numLines |
total line count of wrapped text
Definition at line 76 of file r_font.cpp.
Referenced by R_FontDrawString(), R_FontTextSize(), and R_FontWrapText().
| char wrapCache_t::text[MAX_CACHE_STRING] |
hash id
Definition at line 70 of file r_font.cpp.
Referenced by R_FontListCache_f(), and R_FontWrapText().