get_shader
Retrieve WGSL source code for a ShaderModule object from a WebGPU capture. Provide the objectId and optional captureId to access shader code for debugging and analysis.
Instructions
Return the WGSL source code of a ShaderModule object in a capture.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objectId | Yes | Numeric id of the ShaderModule object. | |
| captureId | No | Capture id (default: most recent). |