Skip to main content

Module gpu_phase

Module gpu_phase 

Source
Expand description

Priority bands for GPU plugin lifecycle points.

Mirrors super::plugin::phase for CPU plugins. Use a band constant as the base of GpuPlugin::priority and offset within it (e.g. gpu_phase::PRE_PREPARE + 10) to order plugins inside the same band.

Constants§

POST_PAINT
Compute that samples rendered targets (custom AO, motion blur, screen-space outline, color grading).
PRE_PREPARE
Compute that produces inputs read by renderer.prepare() and the standard render passes: cloth, hair, GPU particles, morph blends, audio-reactive displacement, probe capture.
_RESERVED_INTERNAL
Reserved priority band between PRE_PREPARE and POST_PAINT. Currently unused; plugins cannot slot work between the renderer’s own internal passes.