MaterialProgram class final

A material read from source: its name, what it declares, and its body.

Constructors

MaterialProgram({required String name, required List<MaterialParameter> parameters, required List<MaterialTextureSlot> textures, required List<MaterialStatement> body, required Set<String> inputsUsed})
const

Properties

body → List<MaterialStatement>
final
hashCode → int
The hash code for this object.
no setterinherited
inputsUsed → Set<String>
Which of kMaterialInputs the body actually reads.
final
name → String
final
parameters → List<MaterialParameter>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
textures → List<MaterialTextureSlot>
final

Methods

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

Operators

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