TexelCopyBufferLayout
public final class TexelCopyBufferLayout
Defines the layout of image data within a buffer for copy operations.
Summary
Public constructors |
|---|
TexelCopyBufferLayout(long offset, int bytesPerRow, int rowsPerImage) |
Public methods |
|
|---|---|
final int |
|
final long |
The offset in bytes from the start of the buffer. |
final int |
|
final void |
setBytesPerRow(int bytesPerRow) |
final void |
setOffset(long offset)The offset in bytes from the start of the buffer. |
final void |
setRowsPerImage(int rowsPerImage) |
Public constructors
TexelCopyBufferLayout
Added in 1.0.0-alpha01
public TexelCopyBufferLayout(long offset, int bytesPerRow, int rowsPerImage)
Public methods
getOffset
Added in 1.0.0-alpha01
public final long getOffset()
The offset in bytes from the start of the buffer.
setOffset
Added in 1.0.0-alpha01
public final void setOffset(long offset)
The offset in bytes from the start of the buffer.