GPUStorageTextureBindingLayout


public final class GPUStorageTextureBindingLayout


Describes the layout of a storage texture binding.

Summary

Public constructors

GPUStorageTextureBindingLayout(
    int access,
    int format,
    int viewDimension
)

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 access)

The access mode for the storage texture.

final void
setFormat(int format)

The format of the storage texture.

final void
setViewDimension(int viewDimension)

Public constructors

GPUStorageTextureBindingLayout

Added in 1.0.0-alpha04
public GPUStorageTextureBindingLayout(
    int access,
    int format,
    int viewDimension
)

Public methods

getAccess

Added in 1.0.0-alpha04
public final int getAccess()

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

getFormat

Added in 1.0.0-alpha04
public final int getFormat()

The format of the storage texture.

getViewDimension

Added in 1.0.0-alpha04
public final int getViewDimension()

setAccess

Added in 1.0.0-alpha04
public final void setAccess(int access)

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

setFormat

Added in 1.0.0-alpha04
public final void setFormat(int format)

The format of the storage texture.

setViewDimension

Added in 1.0.0-alpha04
public final void setViewDimension(int viewDimension)