pub struct QuadPipe {
    pub vertex_buffer: VertexBuffer,
    pub index_buffer: IndexBuffer,
    pub groups: Vec<Group>,
    pub texture_binds: HashMap<usize, BindingGroup>,
    /* private fields */
}
Expand description

Pipeline for drawing textured quads. Designed to work with crate::graphics::sprite::Sprite

Fields

vertex_buffer: VertexBufferindex_buffer: IndexBuffergroups: Vec<Group>texture_binds: HashMap<usize, BindingGroup>

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

The resulting type after dereferencing.

Dereferences the value.

A type that containts the neccissary data for updating the uniform buffer

Your uniforms

Returns a PipelineDescription. This describes the layout of vertecies, sets of bindings and your shader file.

Used to create your pipeline. Supplies the wgpu pipeline and device.

Create the uniforms neccissary for an update with the supplied Plumber::PrepareContext.

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.