GPUTexelCopyBufferLayout


class GPUTexelCopyBufferLayout


Describes the layout of texel data within a buffer.

Summary

Public constructors

GPUTexelCopyBufferLayout(offset: Long, bytesPerRow: Int, rowsPerImage: Int)

Public properties

Int
Long

The offset in bytes from the beginning of the buffer.

Int

Public constructors

GPUTexelCopyBufferLayout

Added in 1.0.0-alpha04
GPUTexelCopyBufferLayout(
    offset: Long = 0,
    bytesPerRow: Int = Constants.COPY_STRIDE_UNDEFINED,
    rowsPerImage: Int = Constants.COPY_STRIDE_UNDEFINED
)

Public properties

bytesPerRow

Added in 1.0.0-alpha04
var bytesPerRowInt

offset

Added in 1.0.0-alpha04
var offsetLong

The offset in bytes from the beginning of the buffer.

rowsPerImage

Added in 1.0.0-alpha04
var rowsPerImageInt