(
world: Any,
*,
frame_count: int,
step_physics: bool,
physics_steps_per_render: int,
cameras: Mapping[str, Any],
)
| 1182 | |
| 1183 | |
| 1184 | def _render_warmup_frames( |
| 1185 | world: Any, |
| 1186 | *, |
| 1187 | frame_count: int, |
| 1188 | step_physics: bool, |
| 1189 | physics_steps_per_render: int, |
| 1190 | cameras: Mapping[str, Any], |
| 1191 | ) -> None: |
| 1192 | for _ in range(max(0, int(frame_count))): |
| 1193 | _render_frame( |
| 1194 | world, |
| 1195 | step_physics=bool(step_physics), |
| 1196 | physics_steps_per_render=int(physics_steps_per_render), |
| 1197 | ) |
| 1198 | _prime_camera_buffers(cameras) |
| 1199 | |
| 1200 | |
| 1201 | def _force_renderer_flush( |
no test coverage detected