GpuVertexBufferLayout class final

One vertex buffer slot.

Constructors

GpuVertexBufferLayout({required int stride, required List<GpuVertexAttribute> attributes, bool perInstance = false})
A slot whose elements are stride bytes apart.
const

Properties

attributes → List<GpuVertexAttribute>
What the shader reads from each element.
final
hashCode → int
The hash code for this object.
no setterinherited
key → String
A key that is equal for equal layouts.
no setter
perInstance → bool
Whether the slot advances once per instance instead of per vertex.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stride → int
Bytes from one element to the next.
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