IFClite TypeScript API
    Preparing search index...

    Interface MeshTexture

    A decoded RGBA8 surface texture attached to a mesh (issue #961).

    interface MeshTexture {
        height: number;
        repeatS: boolean;
        repeatT: boolean;
        rgba: Uint8Array;
        width: number;
    }
    Index
    height: number
    repeatS: boolean

    Sampler wrap from IfcSurfaceTexture.RepeatS/RepeatT (true = repeat).

    repeatT: boolean
    rgba: Uint8Array

    width * height * 4 bytes, row-major, top-down, straight alpha.

    width: number