StorageTextureBindingLayout


public final class StorageTextureBindingLayout


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

Summary

Public constructors

StorageTextureBindingLayout(int access, int format, int viewDimension)

Public methods

final int

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

final int

The storage texture format.

final int
final void
setAccess(int access)

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

final void
setFormat(int format)

The storage texture format.

final void
setViewDimension(int viewDimension)

Public constructors

StorageTextureBindingLayout

Added in 1.0.0-alpha01
public StorageTextureBindingLayout(int access, int format, int viewDimension)

Public methods

getAccess

Added in 1.0.0-alpha01
public final int getAccess()

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

getFormat

Added in 1.0.0-alpha01
public final int getFormat()

The storage texture format.

getViewDimension

Added in 1.0.0-alpha01
public final int getViewDimension()

setAccess

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

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

setFormat

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

The storage texture format.

setViewDimension

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