• Reifies the optional fields of GPUTextureDescriptor. MAINTENANCE_TODO: viewFormats should not be omitted here, but it seems likely that the @webgpu/types definition will have to change before we can include it again.

    Parameters

    • desc: Readonly<GPUTextureDescriptor>

    Returns Required<Omit<GPUTextureDescriptor, "label" | "viewFormats">>

Generated using TypeDoc