GPUTexelCopyBufferLayout
public final class GPUTexelCopyBufferLayout
Describes the layout of texel data within a buffer.
Summary
Public constructors |
|---|
GPUTexelCopyBufferLayout(long offset, int bytesPerRow, int rowsPerImage) |
Public methods |
|
|---|---|
final int |
|
final long |
The offset in bytes from the beginning of the buffer. |
final int |
|
final void |
setBytesPerRow(int value) |
final void |
setOffset(long value)The offset in bytes from the beginning of the buffer. |
final void |
setRowsPerImage(int value) |
Public constructors
GPUTexelCopyBufferLayout
Added in 1.0.0-alpha05
public GPUTexelCopyBufferLayout(long offset, int bytesPerRow, int rowsPerImage)
Public methods
getOffset
Added in 1.0.0-alpha05
public final long getOffset()
The offset in bytes from the beginning of the buffer.
setOffset
Added in 1.0.0-alpha05
public final void setOffset(long value)
The offset in bytes from the beginning of the buffer.