MaterialProgramStage class final
One compiled material, as a stage the software backend can be given.
The program must already be through specializeMaterial: a parameter has
no value until a variant gives it one, and a backend picking a default here
would be a backend disagreeing with the compiled shader.
Constructors
- MaterialProgramStage(MaterialProgram program)
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- program → MaterialProgram
-
final
- 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
-
run(
Float32List v, ShaderBindings bindings, FragmentContext c) → Vector4? - Returns linear RGBA for attachment zero. Null discards the fragment.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited