NyxRenderer#
- class gs_nyx.nyx_py_renderer.NyxRenderer#
Bases:
objectGPU rendering bridge. Owns a Vulkan rendering server and exposes CUDA-interop frame buffers to Python.
Constructors
Construct an uninitialized renderer; call ‘startup’ before use.
Methods
Allocate the GPU buffers needed to drive the scene from Python according to the given BridgeUpdateDesc.
Load a scene file from disk into the renderer.
Pick the scene object visible under 'pixel' from the given camera.
Render the scene from the given camera.
Select the active environment map by index in the scene's environment map array.
Release all renderer, CUDA-interop and SDK global resources.
Initialize the renderer with the given BridgeStartupParams, retain the requested CUDA device, and load shipped shader/asset resources.
Trace a ray against the scene.
Unload the currently loaded scene and free its GPU resources.
Advance per-frame renderer bookkeeping.
Apply pending CPU-side scene edits to the GPU rendering state.
Update the GPU scene buffers from CUDA pointers carried by a BridgeUpdateData.