menu
GpuIndexFormat
import { GpuIndexFormat } from "destack:gpu/binding";
Index element format selector.
1export enum GpuIndexFormat {2 Uint16 = 0,3 Uint32 = 1,4}Variants
Uint16 = 0Unsigned 16-bit indices.
Uint32 = 1Unsigned 32-bit indices.
import { GpuIndexFormat } from "destack:gpu/binding";
Index element format selector.
1export enum GpuIndexFormat {2 Uint16 = 0,3 Uint32 = 1,4}Uint16 = 0Unsigned 16-bit indices.
Uint32 = 1Unsigned 32-bit indices.