pub struct ChannelShuffle {
pub id: NodeId,
pub red: NodeProperty,
pub green: NodeProperty,
pub blue: NodeProperty,
pub alpha: NodeProperty,
pub source: PortRef,
}Expand description
Remaps source raster color channels.
Fields§
§id: NodeId§red: NodePropertySource channel mapped into the red output channel.
green: NodePropertySource channel mapped into the green output channel.
blue: NodePropertySource channel mapped into the blue output channel.
alpha: NodePropertySource channel mapped into the alpha output channel.
source: PortRefTrait Implementations§
Source§impl Clone for ChannelShuffle
impl Clone for ChannelShuffle
Source§fn clone(&self) -> ChannelShuffle
fn clone(&self) -> ChannelShuffle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChannelShuffle
impl Debug for ChannelShuffle
Source§impl Default for ChannelShuffle
impl Default for ChannelShuffle
Source§impl GpuCompileNode for ChannelShuffle
impl GpuCompileNode for ChannelShuffle
fn compile_gpu( &self, ctx: &mut CompileContext<'_>, port: &PortRef, ) -> Result<CompiledOutput, LumenError>
Source§impl GpuFrameBindNode for ChannelShuffle
impl GpuFrameBindNode for ChannelShuffle
fn bind_gpu_frame( &self, ctx: &FrameBindContext<'_>, binding: &FrameBinding, bound: &mut BoundFrame, ) -> Result<(), LumenError>
Source§impl Node for ChannelShuffle
impl Node for ChannelShuffle
fn id(&self) -> NodeId
fn input_port_defs(&self) -> &'static [InputPortDef]
fn output_port_defs(&self) -> &'static [OutputPortDef]
Source§impl PropertyEval for ChannelShuffle
impl PropertyEval for ChannelShuffle
fn get_property(&self, id: &str) -> Result<Option<NodeProperty>, LumenError>
Auto Trait Implementations§
impl Freeze for ChannelShuffle
impl RefUnwindSafe for ChannelShuffle
impl Send for ChannelShuffle
impl Sync for ChannelShuffle
impl Unpin for ChannelShuffle
impl UnsafeUnpin for ChannelShuffle
impl UnwindSafe for ChannelShuffle
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