StorageTextureBindingLayout


class StorageTextureBindingLayout


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

Summary

Public constructors

StorageTextureBindingLayout(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

StorageTextureBindingLayout

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

Public properties

access

Added in 1.0.0-alpha01
var accessInt

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

format

Added in 1.0.0-alpha01
var formatInt

The storage texture format.

viewDimension

Added in 1.0.0-alpha01
var viewDimensionInt