XPlor/definitions/cod/materialtexturedef.xscript

16 lines
713 B
Plaintext
Raw Normal View History

2026-01-01 22:18:40 -05:00
type materialtexturedef [display="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
2026-01-01 22:18:40 -05:00
u32 name_hash [ui, readonly, display="Name Hash"];
u8 name_start [ui, readonly, display="Name Start"];
u8 name_end [ui, readonly, display="Name End"];
u8 sampler_state [ui, readonly, display="Sampler State"];
u8 semantic [ui, readonly, display="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, readonly, display="Image Ptr"];
2026-01-01 22:18:40 -05:00
}