GPUTexelCopyBufferInfo


public final class GPUTexelCopyBufferInfo


Information about a buffer used as a source or destination for a texel copy operation.

Summary

Public constructors

Public methods

final @NonNull GPUBuffer

The buffer involved in the copy.

final @NonNull GPUTexelCopyBufferLayout

The data layout of the texel data within the buffer.

final void

The buffer involved in the copy.

final void

The data layout of the texel data within the buffer.

Public constructors

GPUTexelCopyBufferInfo

Added in 1.0.0-alpha02
public GPUTexelCopyBufferInfo(
    @NonNull GPUBuffer buffer,
    @NonNull GPUTexelCopyBufferLayout layout
)

Public methods

getBuffer

Added in 1.0.0-alpha02
public final @NonNull GPUBuffer getBuffer()

The buffer involved in the copy.

getLayout

Added in 1.0.0-alpha02
public final @NonNull GPUTexelCopyBufferLayout getLayout()

The data layout of the texel data within the buffer.

setBuffer

Added in 1.0.0-alpha02
public final void setBuffer(@NonNull GPUBuffer buffer)

The buffer involved in the copy.

setLayout

Added in 1.0.0-alpha02
public final void setLayout(@NonNull GPUTexelCopyBufferLayout layout)

The data layout of the texel data within the buffer.