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

#include <dttr_pcdogs.h>

Data Fields

uint32_t node_table_offset
 Offset 0x0.
uint32_t reserved_04
uint32_t reserved_08
uint32_t material_entries_offset
 Offset 0xC.
int16_t node_count
 Offset 0x10.
int16_t material_entry_count
 Offset 0x12.
uint32_t reserved_14

Detailed Description

On-disk material section header, rebased before Material_LoadAllEntries walks node/material tables.

Definition at line 1694 of file dttr_pcdogs.h.

Field Documentation

◆ material_entries_offset

uint32_t DTTR_PCDOGS_T_Material_SectionHeader::material_entries_offset

Offset 0xC.

Definition at line 1701 of file dttr_pcdogs.h.

◆ material_entry_count

int16_t DTTR_PCDOGS_T_Material_SectionHeader::material_entry_count

Offset 0x12.

Definition at line 1703 of file dttr_pcdogs.h.

◆ node_count

int16_t DTTR_PCDOGS_T_Material_SectionHeader::node_count

Offset 0x10.

Definition at line 1702 of file dttr_pcdogs.h.

◆ node_table_offset

uint32_t DTTR_PCDOGS_T_Material_SectionHeader::node_table_offset

Offset 0x0.

Definition at line 1695 of file dttr_pcdogs.h.

◆ reserved_04

uint32_t DTTR_PCDOGS_T_Material_SectionHeader::reserved_04

Reserved material section header word used near the count and pointer fields consumed by material fixup and loading paths. Offset 0x4.

Definition at line 1696 of file dttr_pcdogs.h.

◆ reserved_08

uint32_t DTTR_PCDOGS_T_Material_SectionHeader::reserved_08

Reserved material section header word; material loading and fixup has no documented consumer for it. Offset 0x8.

Definition at line 1699 of file dttr_pcdogs.h.

◆ reserved_14

uint32_t DTTR_PCDOGS_T_Material_SectionHeader::reserved_14

Reserved material section header tail word following materialEntryCount. Offset 0x14.

Definition at line 1704 of file dttr_pcdogs.h.


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