GPUConst: {
    BufferUsage: {
        COPY_DST: 8;
        COPY_SRC: 4;
        INDEX: 16;
        INDIRECT: 256;
        MAP_READ: 1;
        MAP_WRITE: 2;
        QUERY_RESOLVE: 512;
        STORAGE: 128;
        UNIFORM: 64;
        VERTEX: 32;
    };
    ColorWrite: {
        ALL: 15;
        ALPHA: 8;
        BLUE: 4;
        GREEN: 2;
        RED: 1;
    };
    MapMode: {
        READ: 1;
        WRITE: 2;
    };
    ShaderStage: {
        COMPUTE: 4;
        FRAGMENT: 2;
        VERTEX: 1;
    };
    TextureUsage: {
        COPY_DST: 2;
        COPY_SRC: 1;
        RENDER_ATTACHMENT: 16;
        SAMPLED: 4;
        STORAGE: 8;
        STORAGE_BINDING: 8;
        TEXTURE_BINDING: 4;
    };
} = ...

Type declaration

  • BufferUsage: {
        COPY_DST: 8;
        COPY_SRC: 4;
        INDEX: 16;
        INDIRECT: 256;
        MAP_READ: 1;
        MAP_WRITE: 2;
        QUERY_RESOLVE: 512;
        STORAGE: 128;
        UNIFORM: 64;
        VERTEX: 32;
    }
    • Readonly COPY_DST: 8
    • Readonly COPY_SRC: 4
    • Readonly INDEX: 16
    • Readonly INDIRECT: 256
    • Readonly MAP_READ: 1
    • Readonly MAP_WRITE: 2
    • Readonly QUERY_RESOLVE: 512
    • Readonly STORAGE: 128
    • Readonly UNIFORM: 64
    • Readonly VERTEX: 32
  • ColorWrite: {
        ALL: 15;
        ALPHA: 8;
        BLUE: 4;
        GREEN: 2;
        RED: 1;
    }
    • Readonly ALL: 15
    • Readonly ALPHA: 8
    • Readonly BLUE: 4
    • Readonly GREEN: 2
    • Readonly RED: 1
  • MapMode: {
        READ: 1;
        WRITE: 2;
    }
    • Readonly READ: 1
    • Readonly WRITE: 2
  • ShaderStage: {
        COMPUTE: 4;
        FRAGMENT: 2;
        VERTEX: 1;
    }
    • Readonly COMPUTE: 4
    • Readonly FRAGMENT: 2
    • Readonly VERTEX: 1
  • TextureUsage: {
        COPY_DST: 2;
        COPY_SRC: 1;
        RENDER_ATTACHMENT: 16;
        SAMPLED: 4;
        STORAGE: 8;
        STORAGE_BINDING: 8;
        TEXTURE_BINDING: 4;
    }
    • Readonly COPY_DST: 2
    • Readonly COPY_SRC: 1
    • Readonly RENDER_ATTACHMENT: 16
    • Readonly SAMPLED: 4
    • Readonly STORAGE: 8
    • Readonly STORAGE_BINDING: 8
    • Readonly TEXTURE_BINDING: 4

Generated using TypeDoc