---
title: "view.renderedStep: Continue Rendered Viewport — Scene kit command — Kition"
description: "Advances the rendered viewport in bounded worker steps; a headless caller can wait for the completed preview. Sampling never changes the document or undo history."
canonical: "https://developer.kition.ai/docs/kits/scene/commands/view.renderedStep"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/scene/commands/view.renderedStep](https://developer.kition.ai/docs/kits/scene/commands/view.renderedStep)

# view.renderedStep

**Continue Rendered Viewport.** Advances the rendered viewport in bounded worker steps; a headless caller can wait for the completed preview. Sampling never changes the document or undo history.

- Kit: Scene 0.1.0 (.kscene); reference: [Scene kit commands](https://developer.kition.ai/docs/kits/scene.md)
- Changes the document: no

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `budgetMs` | `number` | no | Worker time budget in milliseconds, clamped to 1 to 32 (8) |
| `denoise` | `boolean` | no | Smooth the remaining noise away once the preview is done (false) |
| `maxSide` | `integer` | no | The preview's longest side in pixels, 64 to 4096 (512, so a live view stays quick); the viewport's size at most |
| `samples` | `integer` | no | Samples per preview pixel, 1 to 256 (32); changing this retains the compiled scene |
| `wait` | `boolean` | no | Finish the preview before answering, for headless callers (false) |

## Call through scene_run

```text
scene_run {
  "path": "<file>.kscene",
  "steps": [{ "command": "view.renderedStep" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `budgetMs`, `denoise`, `maxSide`, `samples`, `wait`. scene_run answers the step’s result in `completed[i].result`.

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `done` | `boolean` | yes |  |
| `fraction` | `number` | yes |  |
| `generation` | `integer` | yes |  |
| `height` | `integer` | yes |  |
| `samples` | `integer` | yes |  |
| `target` | `integer` | yes |  |
| `width` | `integer` | yes |  |

```json
{
  "additionalProperties": false,
  "properties": {
    "done": {
      "type": "boolean"
    },
    "fraction": {
      "type": "number"
    },
    "generation": {
      "type": "integer"
    },
    "height": {
      "type": "integer"
    },
    "samples": {
      "type": "integer"
    },
    "target": {
      "type": "integer"
    },
    "width": {
      "type": "integer"
    }
  },
  "required": [
    "done",
    "fraction",
    "generation",
    "height",
    "samples",
    "target",
    "width"
  ],
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "budgetMs": {
      "description": "Worker time budget in milliseconds, clamped to 1 to 32 (8)",
      "type": "number"
    },
    "denoise": {
      "description": "Smooth the remaining noise away once the preview is done (false)",
      "type": "boolean"
    },
    "maxSide": {
      "description": "The preview's longest side in pixels, 64 to 4096 (512, so a live view stays quick); the viewport's size at most",
      "type": "integer"
    },
    "samples": {
      "description": "Samples per preview pixel, 1 to 256 (32); changing this retains the compiled scene",
      "type": "integer"
    },
    "wait": {
      "description": "Finish the preview before answering, for headless callers (false)",
      "type": "boolean"
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/scene-darwin-arm64@0.1.0 and the kit itself (scene_commands through @kition/cli@0.1.1, built from KitionAI/kition-scene@4d06faf).
