GPUTexelCopyBufferInfo


class GPUTexelCopyBufferInfo


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

Summary

Public constructors

GPUTexelCopyBufferInfo(
    buffer: GPUBuffer,
    layout: GPUTexelCopyBufferLayout
)

Public properties

GPUBuffer

The buffer involved in the copy.

GPUTexelCopyBufferLayout

The data layout of the texel data within the buffer.

Public constructors

GPUTexelCopyBufferInfo

Added in 1.0.0-alpha02
GPUTexelCopyBufferInfo(
    buffer: GPUBuffer,
    layout: GPUTexelCopyBufferLayout = GPUTexelCopyBufferLayout()
)

Public properties

buffer

Added in 1.0.0-alpha02
var bufferGPUBuffer

The buffer involved in the copy.

layout

Added in 1.0.0-alpha02
var layoutGPUTexelCopyBufferLayout

The data layout of the texel data within the buffer.