PackedStage class final

One finished stage: the WGSL the two compilers made, and the reflection the preparation handed out.

Named here rather than in either program because both build it — tool/generate_shaders.dart prints these as Dart source for the engine's built-in table, tool/pack_wgsl_section.dart encodes them as JSON for a loadable bundle — and the two must mean the same pair by it.

Constructors

PackedStage({required String wgsl, required PreparedStage prepared})
The wgsl the compilers made of prepared.
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
prepared → PreparedStage
The GLSL it was made from and the reflection the preparation handed out.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
wgsl → String
The WGSL text of the stage.
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.
override