Struct shades::input::VertexShaderInputs
source · [−]pub struct VertexShaderInputs<I> {
pub vertex_id: Expr<i32>,
pub instance_id: Expr<i32>,
pub base_vertex: Expr<i32>,
pub base_instance: Expr<i32>,
pub user: I,
}
Expand description
Vertex shader environment inputs.
Fields
vertex_id: Expr<i32>
ID of the current vertex.
instance_id: Expr<i32>
Instance ID of the current vertex.
base_vertex: Expr<i32>
Base vertex offset.
base_instance: Expr<i32>
Base instance vertex offset.
user: I
Trait Implementations
sourceimpl<I: Debug> Debug for VertexShaderInputs<I>
impl<I: Debug> Debug for VertexShaderInputs<I>
Auto Trait Implementations
impl<I> RefUnwindSafe for VertexShaderInputs<I> where
I: RefUnwindSafe,
impl<I> Send for VertexShaderInputs<I> where
I: Send,
impl<I> Sync for VertexShaderInputs<I> where
I: Sync,
impl<I> Unpin for VertexShaderInputs<I> where
I: Unpin,
impl<I> UnwindSafe for VertexShaderInputs<I> where
I: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more