tex2_facemask property

Pointer<ma_uint8> tex2_facemask
getter/setter pair

Indexed by 3D coordinate. Specifies the texture id for texture #2 to use on a single face of the voxel, which must be E/N/W/S (not U/D). The texture id is limited to 6 bits unless tex2_facemask is also defined (see below). Encode with STBVOX_MAKE_TEX2_REPLACE(tex2, face)

Implementation

external ffi.Pointer<ffi.UnsignedChar> tex2_facemask;