Shader

core.shader.shader_mode

Client

Enumeration of rendering pipelines a shader can target

Values

ConstantDescription
core.shader.shader_mode.CANVAS_ITEM2D canvas-based rendering pipeline — use for sprites, UI, and screen-space effects
core.shader.shader_mode.SPATIAL3D spatial rendering pipeline — use for meshes, materials, and world-space effects
core.shader.shader_mode.POST_PROCESSFull-screen post-process pipeline — renders over the whole screen from the active camera, use for screen-space effects with depth texture access

On this page