pub struct Levels {
pub id: NodeId,
pub black_point: NodeProperty,
pub white_point: NodeProperty,
pub gamma: NodeProperty,
pub output_black: NodeProperty,
pub output_white: NodeProperty,
pub source: PortRef,
}Expand description
Remaps raster black, white, gamma, and output range.
Fields§
§id: NodeId§black_point: NodePropertyInput black point.
white_point: NodePropertyInput white point.
gamma: NodePropertyMidtone gamma adjustment.
output_black: NodePropertyOutput black level.
output_white: NodePropertyOutput white level.
source: PortRefTrait Implementations§
Source§impl GpuCompileNode for Levels
impl GpuCompileNode for Levels
fn compile_gpu( &self, ctx: &mut CompileContext<'_>, port: &PortRef, ) -> Result<CompiledOutput, LumenError>
Source§impl GpuFrameBindNode for Levels
impl GpuFrameBindNode for Levels
fn bind_gpu_frame( &self, ctx: &FrameBindContext<'_>, binding: &FrameBinding, bound: &mut BoundFrame, ) -> Result<(), LumenError>
Source§impl Node for Levels
impl Node for Levels
fn id(&self) -> NodeId
fn input_port_defs(&self) -> &'static [InputPortDef]
fn output_port_defs(&self) -> &'static [OutputPortDef]
Source§impl PropertyEval for Levels
impl PropertyEval for Levels
fn get_property(&self, id: &str) -> Result<Option<NodeProperty>, LumenError>
Auto Trait Implementations§
impl Freeze for Levels
impl RefUnwindSafe for Levels
impl Send for Levels
impl Sync for Levels
impl Unpin for Levels
impl UnsafeUnpin for Levels
impl UnwindSafe for Levels
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