Package org.teavm.jso.webgpu
Interface GPUBuffer
- All Superinterfaces:
GPU.ObjectBase,org.teavm.jso.JSObject
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final class -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()getMappedRange(double offset) getMappedRange(double offset, double size) doublegetSize()intgetUsage()mapAsync(int mode) mapAsync(int mode, double offset) mapAsync(int mode, double offset, double size) voidunmap()Methods inherited from interface org.teavm.jso.webgpu.GPU.ObjectBase
getLabel, setLabelMethods inherited from interface org.teavm.jso.JSObject
cast
-
Method Details
-
getSize
double getSize() -
getUsage
int getUsage() -
getMapState
String getMapState() -
mapAsync
-
mapAsync
-
mapAsync
-
getMappedRange
ArrayBuffer getMappedRange() -
getMappedRange
-
getMappedRange
-
unmap
void unmap() -
destroy
void destroy()
-