GPUStorageTextureBindingLayout


class GPUStorageTextureBindingLayout


Describes the layout of a storage texture binding.

Summary

Public constructors

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

Public properties

Int

The access mode for the storage texture.

Int

The format of the storage texture.

Int

Public constructors

GPUStorageTextureBindingLayout

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

Public properties

access

Added in 1.0.0-alpha04
var accessInt

The access mode for the storage texture. Defaults to @see StorageTextureAccess.WriteOnly.

format

Added in 1.0.0-alpha04
var formatInt

The format of the storage texture.

viewDimension

Added in 1.0.0-alpha04
var viewDimensionInt