TexelCopyBufferLayout


class TexelCopyBufferLayout


Defines the layout of image data within a buffer for copy operations.

Summary

Public constructors

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

Public properties

Int
Long

The offset in bytes from the start of the buffer.

Int

Public constructors

TexelCopyBufferLayout

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

Public properties

bytesPerRow

Added in 1.0.0-alpha01
var bytesPerRowInt

offset

Added in 1.0.0-alpha01
var offsetLong

The offset in bytes from the start of the buffer.

rowsPerImage

Added in 1.0.0-alpha01
var rowsPerImageInt