GPUBufferDescriptor
public final class GPUBufferDescriptor
Describes a buffer to be created.
Summary
Public constructors |
|---|
GPUBufferDescriptor( |
Public methods |
|
|---|---|
final String |
getLabel()A human-readable label for debugging. |
final long |
getSize()The size of the buffer in bytes. |
final int |
getUsage()The allowed usages for the buffer. |
final boolean |
|
final void |
A human-readable label for debugging. |
final void |
setMappedAtCreation(boolean value) |
final void |
setSize(long value)The size of the buffer in bytes. |
final void |
setUsage(int value)The allowed usages for the buffer. |
Public constructors
GPUBufferDescriptor
Added in 1.0.0-alpha05
public GPUBufferDescriptor(
int usage,
long size,
String label,
boolean mappedAtCreation
)
Public methods
getLabel
Added in 1.0.0-alpha05
public final String getLabel()
A human-readable label for debugging.
setLabel
Added in 1.0.0-alpha05
public final void setLabel(String value)
A human-readable label for debugging.
setSize
Added in 1.0.0-alpha05
public final void setSize(long value)
The size of the buffer in bytes.
setUsage
Added in 1.0.0-alpha05
public final void setUsage(int value)
The allowed usages for the buffer.