docs(scripting): shaders#793
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a new documentation page introducing WGSL shaders in Rive (with a basic fullscreen-triangle WGSL example and a Lua rendering example) and wires the page into the Scripting docs navigation.
Changes:
- Add new
scripting/wgsl-shaders.mdxpage covering shader concepts, authoring, and rendering viaGPUCanvas/GPUPipeline. - Add the new page to the Scripting navigation in
docs.json.
Reviewed changes
Copilot reviewed 2 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| scripting/wgsl-shaders.mdx | New MDX documentation page for WGSL shaders, including examples and editor configuration notes. |
| docs.json | Adds the WGSL shaders doc page to the Scripting section navigation. |
💡 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>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
| "scripting/protocols/path-effect-scripts", | ||
| "scripting/protocols/transition-condition-scripts", | ||
| "scripting/protocols/listener-action-scripts", | ||
| "scripting/wgsl-shaders", |
There was a problem hiding this comment.
@luigi-rosso I put this under Protocols (Script Types), but shaders aren't a protocol. I'm wondering if I should put shaders, util scripts, and tests somewhere else.
Adds documentation for shaders and script settings.