GPUStorageTextureBindingLayout
public final class GPUStorageTextureBindingLayout
Describes the layout of a storage texture binding.
Summary
Public constructors |
|---|
GPUStorageTextureBindingLayout( |
Public methods |
|
|---|---|
final int |
The access mode for the storage texture. |
final int |
The format of the storage texture. |
final int |
|
final void |
setAccess(int value)The access mode for the storage texture. |
final void |
setFormat(int value)The format of the storage texture. |
final void |
setViewDimension(int value) |
Public constructors
GPUStorageTextureBindingLayout
Added in 1.0.0-alpha05
public GPUStorageTextureBindingLayout(
int access,
int format,
int viewDimension
)
Public methods
getAccess
Added in 1.0.0-alpha05
public final int getAccess()
The access mode for the storage texture. Defaults to @see StorageTextureAccess.WriteOnly.
setAccess
Added in 1.0.0-alpha05
public final void setAccess(int value)
The access mode for the storage texture. Defaults to @see StorageTextureAccess.WriteOnly.
setFormat
Added in 1.0.0-alpha05
public final void setFormat(int value)
The format of the storage texture.