BufferView class

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

Inheritance

Constructors

BufferView({required int buffer, int offset = 0, required int length, int? stride, BufferViewTarget? target, String? name, dynamic extensions, dynamic extras})

Properties

buffer int
The index of the buffer.
getter/setter pair
extensions ↔ dynamic
JSON object with extension-specific objects.
getter/setter pairinherited
extras ↔ dynamic
Application-specific data.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
length int
The length of the bufferView in bytes.
getter/setter pair
name String?
The user-defined name of this object. This is not necessarily unique, e.g., an Accessor and a buffer could have the same name, or two accessors could even have the same name.
getter/setter pair
offset int
The offset into the buffer in bytes.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stride int?
The stride, in bytes, between vertex attributes.
getter/setter pair
target BufferViewTarget?
The hint representing the intended GPU buffer type to use with this buffer view.
getter/setter pair

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