pub struct VaryingLocation {
pub location: u32,
pub index: u32,
}
Fields§
§location: u32
The location of the global.
This corresponds to layout(location = ..)
in GLSL.
index: u32
The index which can be used for dual source blending.
This corresponds to layout(index = ..)
in GLSL.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VaryingLocation
impl RefUnwindSafe for VaryingLocation
impl Send for VaryingLocation
impl Sync for VaryingLocation
impl Unpin for VaryingLocation
impl UnwindSafe for VaryingLocation
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