Skip to main content

layer_for_content

Function layer_for_content 

Source
pub fn layer_for_content(
    layer: &GraphicsLayer,
    isolation: Option<&LayerIsolation>,
) -> GraphicsLayer
Expand description

Returns the layer to draw the content with inside the offscreen buffer: layer with its alpha reset to one when isolation moves the alpha to the composite step.