interface gpuGPUBuffer {
    get mapState(): string;
    get size(): number | bigint;
    get usage(): number;
    destroy(): void;
    getMappedRange(size?, param2?): ArrayBuffer;
    mapAsync(offset, size?, param3?): Promise<void>;
    unmap(): void;
}

Accessors

  • get mapState(): string
  • Returns string

  • get size(): number | bigint
  • Returns number | bigint

  • get usage(): number
  • Returns number

Methods

  • Returns void

  • Parameters

    • Optional size: number | bigint
    • Optional param2: number | bigint

    Returns ArrayBuffer

  • Parameters

    • offset: number
    • Optional size: number | bigint
    • Optional param3: number | bigint

    Returns Promise<void>

  • Returns void