pub struct Exposure {
pub id: NodeId,
pub exposure: NodeProperty,
pub contrast: NodeProperty,
pub offset: NodeProperty,
pub source: PortRef,
}Expand description
Adjusts raster exposure, contrast, and offset.
Fields§
§id: NodeId§exposure: NodePropertyExposure offset in stops.
contrast: NodePropertyContrast multiplier.
offset: NodePropertyLinear color offset.
source: PortRefTrait Implementations§
Source§impl GpuCompileNode for Exposure
impl GpuCompileNode for Exposure
fn compile_gpu( &self, ctx: &mut CompileContext<'_>, port: &PortRef, ) -> Result<CompiledOutput, LumenError>
Source§impl GpuFrameBindNode for Exposure
impl GpuFrameBindNode for Exposure
fn bind_gpu_frame( &self, ctx: &FrameBindContext<'_>, binding: &FrameBinding, bound: &mut BoundFrame, ) -> Result<(), LumenError>
Source§impl Node for Exposure
impl Node for Exposure
fn id(&self) -> NodeId
fn input_port_defs(&self) -> &'static [InputPortDef]
fn output_port_defs(&self) -> &'static [OutputPortDef]
Source§impl PropertyEval for Exposure
impl PropertyEval for Exposure
fn get_property(&self, id: &str) -> Result<Option<NodeProperty>, LumenError>
Auto Trait Implementations§
impl Freeze for Exposure
impl RefUnwindSafe for Exposure
impl Send for Exposure
impl Sync for Exposure
impl Unpin for Exposure
impl UnsafeUnpin for Exposure
impl UnwindSafe for Exposure
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