API

Interface ComputeTextureResource

Validated sampled 2D texture resource for compute bindings.

interface ComputeTextureResource {
    "[computeTextureResourceBrand]": true;
    multisampled: boolean;
    sampleType: ComputeTextureSampleType;
    texture: Texture2D;
    viewDimension: GPUTextureViewDimension;
}
Index
"[computeTextureResourceBrand]": true
multisampled: boolean
texture: Texture2D
viewDimension: GPUTextureViewDimension