Skip to main content

Module compositor

Module compositor 

Source
Expand description

Compositor for alpha-blending a source texture onto a target framebuffer.

This is used by the renderling-ui crate to overlay MSAA-resolved UI content onto a 3D scene without overwriting existing framebuffer content.

Structs§

Compositor
Alpha-blends a source texture onto a target framebuffer using a fullscreen quad.

Functions§

compositor_fragment
Passthrough fragment shader for compositing.
compositor_vertex
Fullscreen quad vertex shader for compositing.