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

Formats the value using the given formatter. Read more

The resulting type after dereferencing.

Dereferences the value.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.