Struct shades::input::GeometryShaderInputs
source · [−]pub struct GeometryShaderInputs<I> {
pub primitive_id_in: Expr<i32>,
pub invocation_id: Expr<i32>,
pub input: Expr<[GeometryPerVertexIn]>,
pub user: I,
}
Expand description
Geometry shader inputs.
Fields
primitive_id_in: Expr<i32>
Contains the index of the current primitive.
invocation_id: Expr<i32>
ID of the current invocation of the geometry shader.
input: Expr<[GeometryPerVertexIn]>
Read-only environment for each vertices.
user: I
Trait Implementations
sourceimpl<I: Debug> Debug for GeometryShaderInputs<I>
impl<I: Debug> Debug for GeometryShaderInputs<I>
Auto Trait Implementations
impl<I> RefUnwindSafe for GeometryShaderInputs<I> where
I: RefUnwindSafe,
impl<I> Send for GeometryShaderInputs<I> where
I: Send,
impl<I> Sync for GeometryShaderInputs<I> where
I: Sync,
impl<I> Unpin for GeometryShaderInputs<I> where
I: Unpin,
impl<I> UnwindSafe for GeometryShaderInputs<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