Small World Engine API Reference - v0.76.20
    Preparing search index...

    Variable TopologyConst

    Topology: {
        DEFAULT: "triangle-list";
        LINE_LIST: "line-list";
        LINE_STRIP: "line-strip";
        POINT_LIST: "point-list";
        TRIANGLE_LIST: "triangle-list";
    } = ...

    Primitive topologies for rendering.

    Type Declaration

    • ReadonlyDEFAULT: "triangle-list"

      The topology assumed when none is specified.

    • ReadonlyLINE_LIST: "line-list"

      A list of lines.

    • ReadonlyLINE_STRIP: "line-strip"

      A strip of lines.

    • ReadonlyPOINT_LIST: "point-list"

      A list of points.

    • ReadonlyTRIANGLE_LIST: "triangle-list"

      A list of triangles.