pub enum ShaderTarget {
Page,
Layer,
}Expand description
Where a runtime shader’s pipeline draws, which decides how its output
blends: Page composites the shader over what lies beneath (a backdrop
effect, or a render effect the renderer draws straight onto the page),
Layer renders into the layer’s own texture, whose content the shader
replaces (a render effect under a blend mode or clip the page draw cannot
apply, such as a DstOut mask).
Variants§
Trait Implementations§
Source§impl Clone for ShaderTarget
impl Clone for ShaderTarget
impl Copy for ShaderTarget
Source§impl Debug for ShaderTarget
impl Debug for ShaderTarget
impl Eq for ShaderTarget
Source§impl Hash for ShaderTarget
impl Hash for ShaderTarget
Source§impl PartialEq for ShaderTarget
impl PartialEq for ShaderTarget
impl StructuralPartialEq for ShaderTarget
Auto Trait Implementations§
impl Freeze for ShaderTarget
impl RefUnwindSafe for ShaderTarget
impl Send for ShaderTarget
impl Sync for ShaderTarget
impl Unpin for ShaderTarget
impl UnsafeUnpin for ShaderTarget
impl UnwindSafe for ShaderTarget
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more