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

#include <dttr_pcdogs.h>

Data Fields

DTTR_PCDOGS_T_Material_TableEntrymaterial_entry
uint16_t vertex_indices [4]
 Offset 0x4.
uint32_t normal_offset
 Offset 0xC.
uint16_t flags
 Offset 0x10.
uint16_t uv_index
 Offset 0x12.
int16_t depth_bias
 Offset 0x14.
int16_t depth_bias_q12

Detailed Description

Definition at line 2947 of file dttr_pcdogs.h.

Field Documentation

◆ depth_bias

int16_t DTTR_PCDOGS_T_Graphics_PolygonRenderRef::depth_bias

Offset 0x14.

Definition at line 2956 of file dttr_pcdogs.h.

◆ depth_bias_q12

int16_t DTTR_PCDOGS_T_Graphics_PolygonRenderRef::depth_bias_q12

Fixed-point companion to depth_bias in polygon render refs; used as depth-bias data for render ref records. Offset 0x16.

Definition at line 2958 of file dttr_pcdogs.h.

◆ flags

uint16_t DTTR_PCDOGS_T_Graphics_PolygonRenderRef::flags

Offset 0x10.

Definition at line 2954 of file dttr_pcdogs.h.

◆ material_entry

DTTR_PCDOGS_T_Material_TableEntry* DTTR_PCDOGS_T_Graphics_PolygonRenderRef::material_entry

Runtime material-table entry pointer read by Graphics_RenderPolygonBatch/Graphics_SetPolygonUVs. Offset 0x0.

Definition at line 2949 of file dttr_pcdogs.h.

◆ normal_offset

uint32_t DTTR_PCDOGS_T_Graphics_PolygonRenderRef::normal_offset

Offset 0xC.

Definition at line 2953 of file dttr_pcdogs.h.

◆ uv_index

uint16_t DTTR_PCDOGS_T_Graphics_PolygonRenderRef::uv_index

Offset 0x12.

Definition at line 2955 of file dttr_pcdogs.h.

◆ vertex_indices

uint16_t DTTR_PCDOGS_T_Graphics_PolygonRenderRef::vertex_indices[4]

Offset 0x4.

Definition at line 2952 of file dttr_pcdogs.h.


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