render_frame#

NyxRenderer.render_frame(self, camera_index: int) → bool#

Render env 0 from the given camera into the start of the CameraColor buffer, as tightly packed (H, W, 3) uint8 rows with ‘(width, height) = camera_resolution(camera_index)’, and wait for the GPU. Returns True on success.