GDK๏ƒ

Inherits: Object

Native Xbox GDK runtime singleton for Xbox on PC.

Description๏ƒ

Access via Engine.get_singleton("GDK"). Provides Xbox Game Runtime initialization, task-queue dispatch, and Xbox Live service namespaces.

Methods๏ƒ

GDKResult

initialize(config: Variant = null)

void

shutdown()

bool

is_available()

bool

is_initialized()

int

dispatch()


Method Descriptions๏ƒ

GDKResult initialize(config: Variant = null) ๐Ÿ”—

Initializes the GDK runtime and shared task queue.


void shutdown() ๐Ÿ”—

Shuts down the active GDK session (process-lifetime runtime remains until exit).


bool is_available() ๐Ÿ”—

Returns true when this build was compiled with GDK support.


bool is_initialized() ๐Ÿ”—

Returns true after a successful initialize() call.


int dispatch() ๐Ÿ”—

Pumps the GDK completion port; call each frame or enable gdk/runtime/embed_dispatch.