pub struct Background {
pub id: NodeId,
pub params: BackgroundParamsDelegate,
}Expand description
Generates a background raster texture.
Fields§
§id: NodeId§params: BackgroundParamsDelegateTrait Implementations§
Source§impl Clone for Background
impl Clone for Background
Source§impl Debug for Background
impl Debug for Background
Source§impl Default for Background
impl Default for Background
Source§impl GpuCompileNode for Background
impl GpuCompileNode for Background
fn compile_gpu( &self, ctx: &mut CompileContext<'_>, port: &PortRef, ) -> Result<CompiledOutput, LumenError>
Source§impl Node for Background
impl Node for Background
fn id(&self) -> NodeId
fn input_port_defs(&self) -> &'static [InputPortDef]
fn input_ports(&self) -> Vec<PortRef>
fn output_port_defs(&self) -> &'static [OutputPortDef]
Source§impl PropertyEval for Background
impl PropertyEval for Background
fn get_property( &self, id: &str, ) -> Result<Option<PropertyExpression>, LumenError>
Auto Trait Implementations§
impl Freeze for Background
impl RefUnwindSafe for Background
impl Send for Background
impl Sync for Background
impl Unpin for Background
impl UnsafeUnpin for Background
impl UnwindSafe for Background
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