pub struct MediaIn {
pub id: NodeId,
pub params: MediaInParamsDelegate,
}Expand description
Binds an external image or video frame as a GPU texture.
Fields§
§id: NodeId§params: MediaInParamsDelegateTrait Implementations§
Source§impl GpuCompileNode for MediaIn
impl GpuCompileNode for MediaIn
fn compile_gpu( &self, ctx: &mut CompileContext<'_>, port: &PortRef, ) -> Result<CompiledOutput, LumenError>
Source§impl Node for MediaIn
impl Node for MediaIn
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 MediaIn
impl PropertyEval for MediaIn
fn get_property( &self, id: &str, ) -> Result<Option<PropertyExpression>, LumenError>
Auto Trait Implementations§
impl Freeze for MediaIn
impl RefUnwindSafe for MediaIn
impl Send for MediaIn
impl Sync for MediaIn
impl Unpin for MediaIn
impl UnsafeUnpin for MediaIn
impl UnwindSafe for MediaIn
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