enum Attribute {
Binding(u32),
BuiltIn(BuiltIn),
Group(u32),
Invariant,
Interpolate(Option<Interpolation>, Option<Sampling>),
Location(u32),
SecondBlendSource,
Stage(ShaderStage),
WorkGroupSize([u32; 3]),
}
Expand description
WGSL attribute
Variants§
Binding(u32)
BuiltIn(BuiltIn)
Group(u32)
Invariant
Interpolate(Option<Interpolation>, Option<Sampling>)
Location(u32)
SecondBlendSource
Stage(ShaderStage)
WorkGroupSize([u32; 3])
Auto Trait Implementations§
impl Freeze for Attribute
impl RefUnwindSafe for Attribute
impl Send for Attribute
impl Sync for Attribute
impl Unpin for Attribute
impl UnwindSafe for Attribute
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