magic-pixels
    Preparing search index...

    Type Alias DrawMode

    DrawMode: typeof DrawMode[keyof typeof DrawMode]

    Renderer-agnostic enums. They are plain strings so scene objects never carry GPU API constants; each renderer maps them to its own values (see src/webgl/gl-constants.ts for WebGL2).

    Both the object form (DrawMode.TRIANGLES) and the string literal ('triangles') are accepted wherever the type is expected.