MaterialStageSource class final

One stage a .f3dmat source becomes, as GLSL the engine's emitter wrote: the fragment stage, and a vertex block's two vertex stages.

Constructors

MaterialStageSource({required String name, bool fragment = false, ShaderStageKind? kind, required String glsl})
A stage of kind; without one, a fragment stage when fragment is true and a vertex stage otherwise.
const

Properties

fragment → bool
Whether this is a fragment stage: kind is ShaderStageKind.fragment.
final
glsl → String
The stage as GLSL 4.60, its #includes of the engine's headers left in place for MaterialCompileRequest.engineSources to resolve.
final
hashCode → int
The hash code for this object.
no setterinherited
kind → ShaderStageKind
What the stage runs as.
final
name → String
The entry point's name: the material's, or <name>Vertex and <name>VertexSkinned for its vertex stages.
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
toString() → String
A string representation of this object.
inherited

Operators

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