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

#include <dttr_pcdogs.h>

Data Fields

uint32_t flags
 Offset 0x0.
DTTR_PCDOGS_T_DDraw_IDirectDrawSurface7texture_ptr
 Offset 0x4.
uint32_t material_tint
 Offset 0x8.
DTTR_PCDOGS_T_Graphics_TexWrapMode tex_wrap_mode
DTTR_PCDOGS_T_Graphics_PolygonBatchRecordnext_in_bucket
 Offset 0x10.
DTTR_PCDOGS_T_Graphics_ProjectedVertex screen_vertices [4]
 Offset 0x14.
DTTR_PCDOGS_T_Graphics_ViewVertex view_vertices [4]
 Offset 0x34.
float depth_bias
 Offset 0x64.
int32_t face_normal_dot
uint32_t vertex_colors [4]
 Offset 0x6C.
DTTR_PCDOGS_T_Graphics_TexCoord8 tex_coords [4]
 Offset 0x7C.
uint32_t render_state_flags
 Offset 0x84.

Detailed Description

Definition at line 5610 of file dttr_pcdogs.h.

Field Documentation

◆ depth_bias

float DTTR_PCDOGS_T_Graphics_PolygonBatchRecord::depth_bias

Offset 0x64.

Definition at line 5620 of file dttr_pcdogs.h.

◆ face_normal_dot

int32_t DTTR_PCDOGS_T_Graphics_PolygonBatchRecord::face_normal_dot

Signed face-normal/dot value used by draw and clipping paths; Graphics_IsQuadClipped tests it against zero. Offset 0x68.

Definition at line 5621 of file dttr_pcdogs.h.

◆ flags

uint32_t DTTR_PCDOGS_T_Graphics_PolygonBatchRecord::flags

Offset 0x0.

Definition at line 5611 of file dttr_pcdogs.h.

◆ material_tint

uint32_t DTTR_PCDOGS_T_Graphics_PolygonBatchRecord::material_tint

Offset 0x8.

Definition at line 5613 of file dttr_pcdogs.h.

◆ next_in_bucket

DTTR_PCDOGS_T_Graphics_PolygonBatchRecord* DTTR_PCDOGS_T_Graphics_PolygonBatchRecord::next_in_bucket

Offset 0x10.

Definition at line 5617 of file dttr_pcdogs.h.

◆ render_state_flags

uint32_t DTTR_PCDOGS_T_Graphics_PolygonBatchRecord::render_state_flags

Offset 0x84.

Definition at line 5626 of file dttr_pcdogs.h.

◆ screen_vertices

DTTR_PCDOGS_T_Graphics_ProjectedVertex DTTR_PCDOGS_T_Graphics_PolygonBatchRecord::screen_vertices[4]

Offset 0x14.

Definition at line 5618 of file dttr_pcdogs.h.

◆ tex_coords

DTTR_PCDOGS_T_Graphics_TexCoord8 DTTR_PCDOGS_T_Graphics_PolygonBatchRecord::tex_coords[4]

Offset 0x7C.

Definition at line 5625 of file dttr_pcdogs.h.

◆ tex_wrap_mode

DTTR_PCDOGS_T_Graphics_TexWrapMode DTTR_PCDOGS_T_Graphics_PolygonBatchRecord::tex_wrap_mode

Texture wrap/mode bytes copied from PKG_PolygonData texture info, plus reserved upper bytes. Offset 0xC.

Definition at line 5615 of file dttr_pcdogs.h.

◆ texture_ptr

DTTR_PCDOGS_T_DDraw_IDirectDrawSurface7* DTTR_PCDOGS_T_Graphics_PolygonBatchRecord::texture_ptr

Offset 0x4.

Definition at line 5612 of file dttr_pcdogs.h.

◆ vertex_colors

uint32_t DTTR_PCDOGS_T_Graphics_PolygonBatchRecord::vertex_colors[4]

Offset 0x6C.

Definition at line 5624 of file dttr_pcdogs.h.

◆ view_vertices

DTTR_PCDOGS_T_Graphics_ViewVertex DTTR_PCDOGS_T_Graphics_PolygonBatchRecord::view_vertices[4]

Offset 0x34.

Definition at line 5619 of file dttr_pcdogs.h.


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