render_batch#

NyxRenderer.render_batch(self) → bool#

Render every (env, camera) pair of the scene into the packed CameraColor buffer and wait for the GPU. Camera c of env e is stored at ‘offset + e * stride’ with ‘(offset, stride) = color_slot(c)’, as tightly packed (H, W, 3) uint8 rows.