nyx_py_renderer#

Nyx GPU renderer bindings: drives a nyx scene from Python through exported GPU buffers. The renderer allocates its interop buffers and exports them as OS handles (‘export_buffer’); the Python side imports them into its compute API and reads and writes them directly, nyx holds no compute API code. Synchronization is on the CPU: wait for the compute writes before ‘update_scene’ or a render, every render waits for the GPU before returning. Every call must come from the main thread: GLFW restricts window creation and event processing to it, Python runs signal handlers only there, and it is the thread ‘startup’ registers with the SDK’s allocators.

Classes

BridgeStartupParams

Parameters passed to NyxRenderer.startup.

BridgeUpdateDesc

Describes the GPU buffers the renderer must allocate to be driven from Python (counts of cameras, geometry, references).

EBridgeBuffer

The interop buffers the renderer allocates and exports.

EDebugView

Channel visualized when ERenderMode.Debug is active.

ERenderMode

Renderer execution mode.

NyxRenderer

GPU rendering bridge.

SceneReference

Reference to a specific node inside a loaded scene by target UUID and node name.