GPUStorageTextureBindingLayout


class GPUStorageTextureBindingLayout


The required configuration for a storage texture binding in a bind group layout.

Summary

Public constructors

GPUStorageTextureBindingLayout(
    access: Int,
    format: Int,
    viewDimension: Int
)

Public properties

Int

The shader access mode (read-only, write-only, or read-write).

Int

The storage texture format.

Int

Public constructors

GPUStorageTextureBindingLayout

Added in 1.0.0-alpha02
GPUStorageTextureBindingLayout(
    access: Int = StorageTextureAccess.WriteOnly,
    format: Int = TextureFormat.Undefined,
    viewDimension: Int = TextureViewDimension._2D
)

Public properties

access

Added in 1.0.0-alpha02
var accessInt

The shader access mode (read-only, write-only, or read-write).

format

Added in 1.0.0-alpha02
var formatInt

The storage texture format.

viewDimension

Added in 1.0.0-alpha02
var viewDimensionInt