XPlor/definitions/cod/materialtexturedef.xscript
njohnson 7b1f5d34a1 Consolidate XScript definitions with byte order inheritance
- Volition VPP: Unified BE/LE types using inheritance pattern
- THQA PAK: Child types now inherit byte order from parent
- Various XScript definition updates and fixes

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 16:08:46 -05:00

16 lines
587 B
Plaintext

type materialtexturedef ui("Material Texture Def")
{
// MaterialTextureDef - 12 bytes total
// The image pointer is just a reference to a GfxImage asset that's
// streamed separately in the zone file - NOT inline within the material
u32 name_hash ui("Name Hash");
u8 name_start ui("Name Start");
u8 name_end ui("Name End");
u8 sampler_state ui("Sampler State");
u8 semantic ui("Semantic");
// GfxImage* image - pointer to image asset (resolved elsewhere in zone)
// -1 means "needs fixup", but image data is a separate asset entry
i32 image_ptr ui("Image Ptr");
}