• 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 GPUTextureDescriptor & Required<Omit<GPUTextureDescriptor, "label" | "viewFormats" | "textureBindingViewDimension">>

Generated using TypeDoc