102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
Loading...
Searching...
No Matches
DTTR_PCDOGS_T_Graphics_SpriteContext Struct Reference

#include <dttr_pcdogs.h>

Data Fields

uint32_t flags
 Offset 0x0.
DTTR_PCDOGS_T_Material_RuntimeDescriptortexture_descriptor
 Offset 0x4.
uint8_t reserved_08 [6]
int16_t glyph_advance_adjust
uint8_t subrect_u
 Offset 0x10.
uint8_t subrect_v
 Offset 0x11.
uint8_t reserved_12 [2]

Detailed Description

Definition at line 1669 of file dttr_pcdogs.h.

Field Documentation

◆ flags

uint32_t DTTR_PCDOGS_T_Graphics_SpriteContext::flags

Offset 0x0.

Definition at line 1670 of file dttr_pcdogs.h.

◆ glyph_advance_adjust

int16_t DTTR_PCDOGS_T_Graphics_SpriteContext::glyph_advance_adjust

Signed text and glyph advance adjustment read by UI_UpdateAndRenderSprites as the fallback spacing word. Offset 0xE.

Definition at line 1674 of file dttr_pcdogs.h.

◆ reserved_08

uint8_t DTTR_PCDOGS_T_Graphics_SpriteContext::reserved_08[6]

Reserved sprite context gap before the documented glyph advance adjustment. Offset 0x8.

Definition at line 1672 of file dttr_pcdogs.h.

◆ reserved_12

uint8_t DTTR_PCDOGS_T_Graphics_SpriteContext::reserved_12[2]

Runtime tail padding reserved for internal use. Graphics_RenderTexturedSprite may read across these bytes with a masked load. Offset 0x12.

Definition at line 1679 of file dttr_pcdogs.h.

◆ subrect_u

uint8_t DTTR_PCDOGS_T_Graphics_SpriteContext::subrect_u

Offset 0x10.

Definition at line 1677 of file dttr_pcdogs.h.

◆ subrect_v

uint8_t DTTR_PCDOGS_T_Graphics_SpriteContext::subrect_v

Offset 0x11.

Definition at line 1678 of file dttr_pcdogs.h.

◆ texture_descriptor

DTTR_PCDOGS_T_Material_RuntimeDescriptor* DTTR_PCDOGS_T_Graphics_SpriteContext::texture_descriptor

Offset 0x4.

Definition at line 1671 of file dttr_pcdogs.h.


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