Skip to content

StorageTextureBindingLayout

data class StorageTextureBindingLayout(
    val format: GPUTextureFormat, 
    val access: GPUStorageTextureAccess = GPUStorageTextureAccess.WriteOnly, 
    val viewDimension: GPUTextureViewDimension = GPUTextureViewDimension.TwoD
) : GPUStorageTextureBindingLayout
Describes the access mode, format, and view dimension of a storage texture binding.

Constructors

StorageTextureBindingLayout

constructor(
    format: GPUTextureFormat, 
    access: GPUStorageTextureAccess = GPUStorageTextureAccess.WriteOnly, 
    viewDimension: GPUTextureViewDimension = GPUTextureViewDimension.TwoD
)

Properties

access

open override val access: GPUStorageTextureAccess
The access mode for this binding, indicating readability and writability.

format

open override val format: GPUTextureFormat
The required format of texture views bound to this binding.

viewDimension

open override val viewDimension: GPUTextureViewDimension
Indicates the required dimension for texture views bound to this binding.