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