Conversation
Initial generated C++
Organizational changes.
Contributor
There was a problem hiding this comment.
Pull request overview
Adds an initial set of C++ runtime documentation pages to the docs site, covering core concepts (File/Artboard/Scene), rendering backends, the render loop, state machines/inputs, data binding, and asset loading, and wires them into the left-nav.
Changes:
- Added a new
runtimes/cpp/doc section with pages for getting started, rendering, state machines, data binding, asset loading, and external renderer integration. - Documented the GPU
RenderContextlifecycle (beginFrame/flush), resize handling, and fixed-timestep simulation guidance. - Updated
docs.jsonto expose the new C++ section in the “Runtimes” navigation.
Reviewed changes
Copilot reviewed 10 out of 12 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| runtimes/cpp/index.mdx | Adds C++ runtime overview page and entry-point links. |
| runtimes/cpp/getting-started.mdx | Adds build + first render-loop walkthrough. |
| runtimes/cpp/file-and-artboard.mdx | Adds file import, artboard querying/instancing, layout sizing, and lifetime guidance. |
| runtimes/cpp/state-machines.mdx | Adds scene lifecycle, pointer forwarding, input access, and state-change introspection. |
| runtimes/cpp/data-binding.mdx | Adds ViewModel runtime/instance/property usage docs and examples. |
| runtimes/cpp/asset-loading.mdx | Adds FileAssetLoader guidance with sync/async examples and caveats. |
| runtimes/cpp/rendering-loop.mdx | Adds detailed beginFrame/flush sequencing, frame descriptors, and operational notes. |
| runtimes/cpp/renderers.mdx | Adds per-backend RenderContext setup snippets (D3D11/12, Metal, Vulkan, GL/WebGL). |
| runtimes/cpp/external-renderer.mdx | Documents implementing Renderer/Factory to plug into custom backends. |
| docs.json | Adds the new C++ pages to the Runtimes sidebar nav. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This reverts commit 99c6a7e.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is mostly Claude generated. I've made some changes to the output but this need a good once-over by someone familiar with the C++ API.