pub struct WgslShader {
pub id: NodeId,
pub params: WgslShaderParamsDelegate,
pub source: PortRef,
}Expand description
Runs a custom WGSL compute shader over a raster.
Fields§
§id: NodeId§params: WgslShaderParamsDelegate§source: PortRefTrait Implementations§
Source§impl Clone for WgslShader
impl Clone for WgslShader
Source§impl Debug for WgslShader
impl Debug for WgslShader
Source§impl Default for WgslShader
impl Default for WgslShader
Source§impl GpuCompileNode for WgslShader
impl GpuCompileNode for WgslShader
fn compile_gpu( &self, ctx: &mut CompileContext<'_>, port: &PortRef, ) -> Result<CompiledOutput, LumenError>
Source§impl Node for WgslShader
impl Node for WgslShader
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 WgslShader
impl PropertyEval for WgslShader
fn get_property( &self, id: &str, ) -> Result<Option<PropertyExpression>, LumenError>
Auto Trait Implementations§
impl Freeze for WgslShader
impl RefUnwindSafe for WgslShader
impl Send for WgslShader
impl Sync for WgslShader
impl Unpin for WgslShader
impl UnsafeUnpin for WgslShader
impl UnwindSafe for WgslShader
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