CpuMeshLayout class abstract final

Where the engine's vertex attributes and the mesh stage's varyings sit, as float offsets, and how many of each there are. The numbers are cpu_shaders_layout.dart's, which cpu_mesh_layout_test.dart holds them to.

Properties

hashCode → int
The hash code for this object.
no setterinherited
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

Constants

color → const int
The vertex colour in a vertex (a vec4).
maxLights → const int
Lights per frame the stages read, a count.
texcoord → const int
The texture coordinate in a vertex (a vec2).
varyingInstance → const int
An instance's own four numbers among the varyings (a vec4).
varyingNormal → const int
The normal among the varyings (a vec3).
varyings → const int
How many floats the mesh stage's varyings take, a count.
varyingUv → const int
The texture coordinate among the varyings (a vec2).
varyingWorld → const int
The world position among the varyings (a vec3).