pub struct RenderPass { /* private fields */ }
Expand description

Render pass to render a egui based GUI.

Implementations

Creates a new render pass to render a egui UI.

If the format passed is not a *Srgb format, the shader will automatically convert to sRGB colors in the shader.

Executes the egui render pass.

Executes the egui render pass onto an existing wgpu renderpass.

Should be called before execute().

Should be called before execute().

Uploads the uniform, vertex and index data used by the render pass. Should be called before execute().

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.