Skip to main content

Module shader

Module shader 

Source
Expand description

GPU shader entry points for the 2D/UI rendering pipeline.

These shaders are compiled via rust-gpu and used by the renderling-ui crate’s UiRenderer.

Functions§

ui_fragment
2D UI fragment shader.
ui_vertex
2D UI vertex shader.