TexelCopyBufferInfo


public final class TexelCopyBufferInfo


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 TexelCopyBufferLayout

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

TexelCopyBufferInfo

Added in 1.0.0-alpha01
public TexelCopyBufferInfo(
    @NonNull GPUBuffer buffer,
    @NonNull TexelCopyBufferLayout layout
)

Public methods

getBuffer

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

The buffer involved in the copy.

getLayout

Added in 1.0.0-alpha01
public final @NonNull TexelCopyBufferLayout getLayout()

The data layout of the texel data within the buffer.

setBuffer

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

The buffer involved in the copy.

setLayout

Added in 1.0.0-alpha01
public final void setLayout(@NonNull TexelCopyBufferLayout layout)

The data layout of the texel data within the buffer.