Skip to main content

ui_stencil_state

Function ui_stencil_state 

Source
pub fn ui_stencil_state() -> Option<DepthStencilState>
Expand description

Depth and stencil configuration required by UI draw pipelines.

Set RenderPipelineDescriptor::depth_stencil to this value for pipelines submitted through the UI renderer. Independent texture-generation passes may use their own attachment configuration.