shader_effect

Runtime glue for experimental GPU-only subtree filters. Available with the opt-in shaders Cargo feature.

Functions

bind_shader_effect

pub fn bind_shader_effect(node: &Rc<ExpandedNode>, context: &Rc<RuntimeContext>)

Subscribe an effect primitive's typed inputs and presentation geometry to canvas updates. The default InstanceNode::handle_mount installs this for primitives with a shader recipe. A primitive overriding that hook must call this after expanding its children.