Skip to main content

layer_composite_params

Function layer_composite_params 

Source
pub fn layer_composite_params(layer: &GraphicsLayer) -> Option<(f32, BlendMode)>
Expand description

The composite alpha and blend mode an isolated layer contributes at its parent, for callers that never read the isolation’s render effect and would otherwise deep-clone it once per layer per frame.