Skip to content

docs: explain planned frame demand - #42

Merged
waywardmonkeys merged 1 commit into
forest-rs:mainfrom
waywardmonkeys:framedemand-explanation
Jun 13, 2026
Merged

docs: explain planned frame demand#42
waywardmonkeys merged 1 commit into
forest-rs:mainfrom
waywardmonkeys:framedemand-explanation

Conversation

@waywardmonkeys

Copy link
Copy Markdown
Contributor

Clarify that FrameDemand is both scheduler input and the semantic cause carried on FramePlan.

Document that hosts should use frame.plan().demand after FrameBeginResult::Ready to choose optional work or quality for the frame being built, and update the winit paced redraw example with a small WorkMode derived from planned demand.

Clarify that `FrameDemand` is both scheduler input and the semantic cause carried on `FramePlan`.

Document that hosts should use `frame.plan().demand` after `FrameBeginResult::Ready` to choose optional work or quality for the frame being built, and update the winit paced redraw example with a small `WorkMode` derived from planned demand.
@waywardmonkeys
waywardmonkeys merged commit b3147af into forest-rs:main Jun 13, 2026
15 checks passed
@waywardmonkeys
waywardmonkeys deleted the framedemand-explanation branch June 13, 2026 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant