GpuBuffer class abstract interface

GPU memory holding vertices, indices or uniforms.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sizeInBytes → int
Size in bytes.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
view([int offset = 0, int? length]) → GpuBufferView
A view of length bytes from offset (the whole buffer by default).
write(ByteData data, {int offset = 0}) → void
Rewrites bytes from offset; host buffers only.

Operators

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