MCPcopy Create free account
hub / github.com/BabylonJS/BabylonNative / Module

Method Module

Core/AppRuntime/Source/AppRuntimeV8.cpp:13–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11 {
12 public:
13 Module(const char* executablePath)
14 {
15 v8::V8::InitializeICUDefaultLocation(executablePath);
16 v8::V8::InitializeExternalStartupData(executablePath);
17 m_platform = v8::platform::NewDefaultPlatform();
18 v8::V8::InitializePlatform(m_platform.get());
19 v8::V8::Initialize();
20 }
21
22 ~Module()
23 {

Callers

nothing calls this directly

Calls 1

InitializeFunction · 0.50

Tested by

no test coverage detected