menu

GpuBindGroupLayoutStorageTextureResource

import { GpuBindGroupLayoutStorageTextureResource } from "destack:gpu/binding";

Storage-texture bind group layout resource payload.

language/library/src/gpu/binding/bind.ds:96:105
1export struct GpuBindGroupLayoutStorageTextureResource {2    kind: "storageTexture";3    storageTextureAccess: GpuStorageTextureAccess;4    storageTextureFormat: GpuTextureFormat;5    textureViewDimension: GpuTextureViewDimension;6}

Members

kind: "storageTexture"

Discriminator for this bind-group-layout resource variant.

storageTextureAccess: GpuStorageTextureAccess

Storage-texture access selector.

storageTextureFormat: GpuTextureFormat

Storage-texture format identifier.

textureViewDimension: GpuTextureViewDimension

Texture view dimension selector.