@Generated(value="org.realityforge.webtack")
@ApiStatus.Experimental
@JsType(isNative=true,
namespace="<global>",
name="GPUBuffer")
public class GPUBuffer
extends JsObject
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
label |
| Modifier | Constructor and Description |
|---|---|
protected |
GPUBuffer() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
ArrayBuffer |
getMappedRange() |
ArrayBuffer |
getMappedRange(int offset) |
ArrayBuffer |
getMappedRange(int offset,
int size) |
Promise<java.lang.Void> |
mapAsync(int mode) |
Promise<java.lang.Void> |
mapAsync(int mode,
int offset) |
Promise<java.lang.Void> |
mapAsync(int mode,
int offset,
int size) |
void |
unmap() |
assign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toString_, valueOf_, valuespublic void destroy()
@Nonnull public ArrayBuffer getMappedRange(int offset, int size)
@Nonnull public ArrayBuffer getMappedRange(int offset)
@Nonnull public ArrayBuffer getMappedRange()
@Nonnull public Promise<java.lang.Void> mapAsync(@GPUMapModeFlags int mode, int offset, int size)
@Nonnull public Promise<java.lang.Void> mapAsync(@GPUMapModeFlags int mode, int offset)
@Nonnull public Promise<java.lang.Void> mapAsync(@GPUMapModeFlags int mode)
public void unmap()