getEffect
Retrieve complete details for a single OpenScreen shader effect by ID: WGSL code, parameters, description, cost, and regions that use it.
Instructions
Read one effect of the project in full: its WGSL code, parameters, description, cost and the regions that use it. getCurrentDocument lists effects without their code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| effectId | Yes | ||
| projectId | No | The project to act on, from listProjects. Omit it only for the project open in the OpenScreen editor, which works only while the app runs. |