DeviceBuffer class base

DeviceBuffer is a region of memory allocated on the device heap (GPU-resident memory).

Properties

hashCode → int
The hash code for this object.
no setterinherited
isValid → dynamic
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sizeInBytes → int
final
storageMode → StorageMode
final

Methods

flush({int offsetInBytes = 0, int lengthInBytes = -1}) → void
Flush the contents of the DeviceBuffer to the GPU.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
overwrite(ByteData sourceBytes, {int destinationOffsetInBytes = 0}) → bool
Overwrite a range of bytes within an existing DeviceBuffer.
toString() → String
A string representation of this object.
inherited

Operators

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