@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Object")
@ApiStatus.Experimental
public interface GPUBufferDescriptor
extends GPUObjectDescriptorBase
| Modifier and Type | Interface and Description |
|---|---|
static interface |
GPUBufferDescriptor.Builder |
static interface |
GPUBufferDescriptor.Step1 |
| Modifier and Type | Method and Description |
|---|---|
boolean |
mappedAtCreation() |
void |
setMappedAtCreation(boolean mappedAtCreation) |
void |
setSize(int size) |
void |
setUsage(@JsNonNull int usage) |
int |
size() |
static GPUBufferDescriptor.Step1 |
size(int size) |
@JsNonNull int |
usage() |
label, of, setLabel@JsOverlay @Nonnull static GPUBufferDescriptor.Step1 size(int size)
@JsProperty(name="size") int size()
@JsProperty void setSize(int size)
@JsProperty(name="usage") @GPUBufferUsageFlags @JsNonNull int usage()
@JsProperty void setUsage(@GPUBufferUsageFlags @JsNonNull int usage)
@JsProperty(name="mappedAtCreation") boolean mappedAtCreation()
@JsProperty void setMappedAtCreation(boolean mappedAtCreation)