VMResult class

Constructors

VMResult({required int vmPointer, required List<RegisteredModule> modules, required int compileTimeUs, required int loadTimeUs, required int executeTimeUs, required int wgslCompileTimeUs, required Uint8List consoleData})

Properties

compileTimeUs → int
Total time spent compiling scripts (in microseconds)
final
consoleData → Uint8List
Console output from script execution (buffered during requestVM)
final
contextPointer → int
Deprecated: Context is now owned by VM, this is always 0
no setter
executeTimeUs → int
Total time spent executing scripts (in microseconds)
final
hashCode → int
The hash code for this object.
no setterinherited
loadTimeUs → int
Total time spent loading scripts into the VM (in microseconds)
final
modules → List<RegisteredModule>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
vmPointer → int
Pointer to ScriptingVM* (owns both lua_State and context)
final
wgslCompileTimeUs → int
Total time spent compiling WGSL shaders via naga (in microseconds)
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) → VMResult?