discontinuedPackage js_bindings has been discontinued and replaced by typings.

GPUBuffer class

Implemented types
Available extensions
Annotations
  • @JS.new()
  • @staticInterop

Constructors

GPUBuffer()
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
label ↔ String

Available on GPUObjectBase, provided by the PropsGPUObjectBase extension

getter/setter pair
mapState → GPUBufferMapState

Available on GPUBuffer, provided by the PropsGPUBuffer extension

no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → int

Available on GPUBuffer, provided by the PropsGPUBuffer extension

no setter
usage → int

Available on GPUBuffer, provided by the PropsGPUBuffer extension

no setter

Methods

destroy() → void

Available on GPUBuffer, provided by the PropsGPUBuffer extension

getMappedRange([int? offset = 0, int? size]) → ByteBuffer

Available on GPUBuffer, provided by the PropsGPUBuffer extension

mapAsync(int mode, [int? offset = 0, int? size]) → Future<void>

Available on GPUBuffer, provided by the PropsGPUBuffer extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
unmap() → void

Available on GPUBuffer, provided by the PropsGPUBuffer extension

Operators

operator ==(Object other) → bool
The equality operator.
inherited