pub enum StepProgram {
Main,
Bound(ShaderBinding),
Unbound {
why: String,
},
}Expand description
The program a draw draws a material through.
Variants§
Main
The material’s main draw’s, its core.shader_binding.
Bound(ShaderBinding)
Another pass’s, bound here and held to what a material’s core.shader_binding is held to.
Unbound
The draw draws the material, and the source could not bind the program: why.
Trait Implementations§
Source§impl Clone for StepProgram
impl Clone for StepProgram
Source§impl Debug for StepProgram
impl Debug for StepProgram
Source§impl PartialEq for StepProgram
impl PartialEq for StepProgram
Source§impl Serialize for StepProgram
impl Serialize for StepProgram
impl StructuralPartialEq for StepProgram
Auto Trait Implementations§
impl Forget for StepProgram
impl Freeze for StepProgram
impl RefUnwindSafe for StepProgram
impl Send for StepProgram
impl Sync for StepProgram
impl Unpin for StepProgram
impl UnsafeUnpin for StepProgram
impl UnwindSafe for StepProgram
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