babylonjs_spector_capture
Diagnose WebGL rendering issues by capturing a frame and analyzing draw calls, shaders, state, textures, and performance metrics.
Instructions
Capture a WebGL frame using Spector.js for low-level rendering inspection. Returns draw call count, shader source code, WebGL state, texture bindings, and performance data. Only available when a browser with WebGL is connected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detailLevel | No | 'summary' for stats, 'shaders' for shader source code, 'full' for everything | summary |
| quickCapture | No | Skip per-draw-call thumbnails for faster capture |