tex2_replace property

Pointer<ma_uint8> tex2_replace
getter/setter pair

Array indexed by tex1 containing the texture id for texture #2. You can use this if the two are always/almost-always strictly correlated (e.g. if tex2 is a detail texture for tex1), as it will be more efficient (touching fewer cache lines) than using e.g. block_tex2_face.

Implementation

external ffi.Pointer<ffi.UnsignedChar> tex2_replace;