CMapObj::ClearMaterialTextures
function · models · orchestration
- Address
0x6c3d70· 51 bytes, up to0x6c3da2- Meaning
- Zeroes both texture handles of every material
- Confidence
- verified, proof one
- Finding
- models/wmo#material-textures
Finding: Material textures in models: map objects
A material record is the file's 64-byte MOMT record, used in place. Its first texture is the
MOTX string at offset +0xc, or createcrappygreentexture.blp when that string is empty; its
second, at +0x18, is loaded only when its string is not empty. The handles go to +0x38 and
+0x3c, once: a material whose first handle is set is skipped.
The derivation is in the doc.
Callers 1
- CMapObj::Parse models
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.