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

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.