camera_image#

NyxPyRenderer.camera_image(cam_index)[source]#

Return the (B, H, W, 3) uint8 GPU view holding the last rendered images of a camera.

The view aliases the renderer’s output buffer: it is refreshed in place by every render_all(), so copy it to keep a frame.