initGPUScripting static method

int initGPUScripting()

Initialises GPU scripting for the current platform. Call once after the native renderer is set up (i.e. after RiveNative.init completes). Returns the ore::Context pointer address, or 0 on unsupported platforms. Pass the result to setOreContext on every workspace you create.

Implementation

static int initGPUScripting() => initGPUScriptingForPlatform();