Struct vulkano::render_pass::RenderPassDesc[][src]

pub struct RenderPassDesc { /* fields omitted */ }
Expand description

The description of a render pass.

Implementations

Creates a description of a render pass.

Creates a description of a render pass that uses the multiview feature. See MultiviewDesc for an explanation of possible configuration options.

Creates a description of an empty render pass, with one subpass and no attachments.

Decodes I into a list of clear values where each element corresponds to an attachment. The size of the returned iterator must be the same as the number of attachments.

When the user enters a render pass, they need to pass a list of clear values to apply to the attachments of the framebuffer. This method is then responsible for checking the correctness of these values and turning them into a list that can be processed by vulkano.

The format of the clear value must match the format of the attachment. Attachments that are not loaded with LoadOp::Clear must have an entry equal to ClearValue::None.

Returns true if the subpass of this description is compatible with the shader’s fragment output definition.

Returns true if this description is compatible with the other description, as defined in the Render Pass Compatibility section of the Vulkan specs.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

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

Builds a pointer to this type from a raw pointer.

Returns true if the size is suitable to store a type like this.

Returns the size of an individual element.

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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.