pub struct SubShader {
pub tags: Vec<(String, String)>,
pub passes: Vec<ShaderPass>,
}Expand description
A subshader: its tags as stored (Unity upper-cases some keys: QUEUE) and its passes in order.
Fields§
The subshader’s tags.
passes: Vec<ShaderPass>The passes, in order.
Trait Implementations§
impl StructuralPartialEq for SubShader
Auto Trait Implementations§
impl Freeze for SubShader
impl RefUnwindSafe for SubShader
impl Send for SubShader
impl Sync for SubShader
impl Unpin for SubShader
impl UnsafeUnpin for SubShader
impl UnwindSafe for SubShader
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