forceCompilation method

void forceCompilation(
  1. AbstractMesh mesh, [
  2. void onCompiled(
    1. Material material
    ),
  3. IMaterialCompilationOptions options,
  4. void onError(
    1. String reason
    ),
])

Implementation

external void forceCompilation(AbstractMesh mesh, [void Function(Material material) onCompiled, IMaterialCompilationOptions options, void Function(String reason) onError]);