core.shader.shader_mode
Client
Enumeration of rendering pipelines a shader can target
Values
| Constant | Description |
|---|---|
core.shader.shader_mode.CANVAS_ITEM | 2D canvas-based rendering pipeline — use for sprites, UI, and screen-space effects |
core.shader.shader_mode.SPATIAL | 3D spatial rendering pipeline — use for meshes, materials, and world-space effects |