MaterialInput class final
One value the fragment body can read.
The set is the intersection of what surface.glsl's Surface carries and
what cpu_shaders_surface.dart's Surface carries, which is the same
struct written twice — so an input here is a field both already have, never
something one side would have to compute.
Constructors
- MaterialInput(String name, MaterialType type, String glsl)
-
const
Properties
- glsl → String
-
The GLSL that reads it, given a
Surface sin scope.final - hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → MaterialType
-
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