BufferView class

A reference to a byte range within a GPU-resident Buffer.

Constructors

BufferView(Buffer buffer, {required int offsetInBytes, required int lengthInBytes})
Create a new view into a buffer on the GPU.
const

Properties

buffer Buffer
The buffer of this view.
final
hashCode int
The hash code for this object.
no setterinherited
lengthInBytes int
The length of the view.
final
offsetInBytes int
The start of the view, in bytes starting from the beginning of the buffer.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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