StageVariable class final

One variable a stage reads or writes across its boundary: a vertex attribute, a varying, a fragment output.

Constructors

StageVariable(String name, String type, {int? location})
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
location → int?
The location a layout(location = N) gives it, or null where the translator numbers it.
final
name → String
The name the GLSL declares.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → String
The GLSL type: vec3, float, mat4.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override