kMapId: {
    passthrough: {
        f: ((id, _max) => number);
        wgsl: ((_max, scalarType?) => string);
    };
    remap: {
        f: ((id, max) => number);
        wgsl: ((max, scalarType?) => string);
    };
} = ...

Type declaration

  • passthrough: {
        f: ((id, _max) => number);
        wgsl: ((_max, scalarType?) => string);
    }
    • f: ((id, _max) => number)
        • (id, _max): number
        • Parameters

          • id: number
          • _max: number

          Returns number

    • wgsl: ((_max, scalarType?) => string)
        • (_max, scalarType?): string
        • Parameters

          • _max: number
          • scalarType: string = 'u32'

          Returns string

  • remap: {
        f: ((id, max) => number);
        wgsl: ((max, scalarType?) => string);
    }
    • f: ((id, max) => number)
        • (id, max): number
        • Parameters

          • id: number
          • max: number

          Returns number

    • wgsl: ((max, scalarType?) => string)
        • (max, scalarType?): string
        • Parameters

          • max: number
          • scalarType: string = 'u32'

          Returns string

Generated using TypeDoc