charturbo - v0.1.0
    Preparing search index...

    Interface ObjectMapDescriptor

    Texture mapping shared by materials, primitives and custom meshes. UVs: u runs left to right and v top to bottom (v = 0 is the top row of the image), so images are not flipped.

    interface ObjectMapDescriptor {
        alphaTest?: number;
        map?: number | null;
        mapOffset?: Vec2Tuple;
        mapRepeat?: Vec2Tuple;
    }

    Hierarchy (View Summary)

    Index
    alphaTest?: number

    Fragments whose texture-modulated alpha is below this are discarded (default: 0.5 with a map, else 0)

    map?: number | null

    Texture id from loadTexture / createDataTexture; null (or 0) clears the map

    mapOffset?: Vec2Tuple

    UV offset [u, v] (default: [0, 0])

    mapRepeat?: Vec2Tuple

    UV repeat [u, v] (default: [1, 1]); textures wrap