BufferView class

A view into a buffer generally representing a subset of the buffer.

Inheritance
Mixed-in types

Constructors

BufferView({required GltfRoot root, required GltfRef<Buffer> buffer, required int byteLength, required int byteOffset, required int? byteStride, required BufferViewTarget? target})
BufferView.parse(GltfRoot root, Map<String, Object?> map)

Properties

buffer → GltfRef<Buffer>
The reference to the buffer.
final
byteLength → int
The length of the bufferView in bytes.
final
byteOffset → int
The offset into the buffer in bytes.
final
byteStride → int?
The stride, in bytes, between vertex attributes.
final
hashCode → int
The hash code for this object.
no setterinherited
root → GltfRoot
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
target → BufferViewTarget?
The hint representing the intended GPU buffer type to use with this buffer view.
final

Methods

data() → Uint8List
getData() → Uint8List
inherited
init() → Future<void>
inherited
loadData() → Future<Uint8List>
override
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