WasmModuleResult class
Result of ScriptingWorkspace.requestCompileWasmAs: the module every AnimaScript source baked into, or the compile error.
Constructors
-
WasmModuleResult({required Uint8List module, required String error, Map<
String, Uint8List> shaders = const {}, WasmAotStatus? aotStatus, String aotDetail = ''})
Properties
- aotDetail → String
-
The compiler the status is about, when it names one.
final
- aotStatus → WasmAotStatus?
-
Null when the bake asked for no artifact.
final
- error → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- module → Uint8List
-
final
- ok → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
shaders
→ Map<
String, Uint8List> -
Compiled WGSL by registered module name, for the VM the module boots on.
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
Static Methods
-
read(
BinaryReader reader) → WasmModuleResult?