BufferLayout class final

One buffer's worth of attributes, and how far apart its elements are.

Constructors

BufferLayout({required int strideInBytes, required List<InputAttribute> attributes, VertexStepMode stepMode = VertexStepMode.vertex})
const

Properties

attributes → List<InputAttribute>
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stepMode → VertexStepMode
final
strideInBytes → int
Bytes from one element to the next. Not derived from the attributes, because padding is legitimate and a stride computed by summing sizes would silently disagree with a buffer that has any.
final

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