pub struct DerivedInput {
pub target: Label,
pub name: String,
pub program: Arc<Program>,
pub notes: Vec<String>,
pub inputs: Vec<InputBinding>,
pub constants: Vec<ConstantBinding>,
}Expand description
A program derived from a source vertex stage that supplies one float input of a derived pixel program (at most four lanes): evaluated once per vertex on the mesh’s streams, then interpolated as the source vertex program’s output is.
Fields§
§target: LabelThe derived pixel program’s input it supplies.
name: StringThe derivation’s name and version, its producer’s.
program: Arc<Program>§notes: Vec<String>What the derivation cut from the source program or leaves unresolved, and which source it was derived from.
inputs: Vec<InputBinding>Its inputs by role.
constants: Vec<ConstantBinding>Its constants by role.
Trait Implementations§
Source§impl Clone for DerivedInput
impl Clone for DerivedInput
Auto Trait Implementations§
impl Forget for DerivedInput
impl Freeze for DerivedInput
impl RefUnwindSafe for DerivedInput
impl Send for DerivedInput
impl Sync for DerivedInput
impl Unpin for DerivedInput
impl UnsafeUnpin for DerivedInput
impl UnwindSafe for DerivedInput
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