pub struct PipelinePassRef<'a, T>where
    T: Access,
{ /* private fields */ }
Expand description

A render pass which has been bound to a particular compute, graphic, or ray-trace pipeline.

Implementations

Informs the pass that the next recorded command buffer will read or write the given node at the specified shader descriptor using access.

This function must be called for node before it is read or written within a record function. For general purpose access, see PipelinePassRef::read_descriptor or PipelinePassRef::write_descriptor.

Informs the pass that the next recorded command buffer will read or write the given node at the specified shader descriptor using access. The node will be interpreted using view_info.

This function must be called for node before it is read or written within a record function. For general purpose access, see PipelinePassRef::read_descriptor_as or PipelinePassRef::write_descriptor_as.

Informs the pass that the next recorded command buffer will read or write the subresource of node at the specified shader descriptor using access. The node will be interpreted using view_info.

This function must be called for node before it is read or written within a record function. For general purpose access, see PipelinePassRef::read_descriptor_subrange or PipelinePassRef::write_descriptor_subrange.

Informs the pass that the next recorded command buffer will read or write the given node using access.

This function must be called for node before it is read or written within a record function. For general purpose access, see PipelinePassRef::read_node or PipelinePassRef::write_node.

Informs the pass that the next recorded command buffer will read or write the given node using access.

This function must be called for node before it is read or written within a record function. For general purpose access, see PipelinePassRef::read_node_mut or PipelinePassRef::write_node_mut.

Informs the pass that the next recorded command buffer will read or write the subresource of node using access.

This function must be called for node before it is read or written within a record function. For general purpose access, see PipelinePassRef::read_node_subrange or PipelinePassRef::write_node_subrange.

Informs the pass that the next recorded command buffer will read or write the subresource of node using access.

This function must be called for node before it is read or written within a record function. For general purpose access, see PipelinePassRef::read_node_subrange_mut or PipelinePassRef::write_node_subrange_mut.

Binds a Vulkan acceleration structure, buffer, or image to the graph associated with this pass.

Bound nodes may be used in passes for pipeline and shader operations.

Returns information used to crate a node.

Informs the pass that the next recorded command buffer will read the given node at the specified shader descriptor.

The AccessType is inferred by the currently bound pipeline. See Access for details.

This function must be called for node before it is read within a record function. For more specific access, see PipelinePassRef::access_descriptor.

Informs the pass that the next recorded command buffer will read the given node at the specified shader descriptor. The node will be interpreted using view_info.

The AccessType is inferred by the currently bound pipeline. See Access for details.

This function must be called for node before it is read within a record function. For more specific access, see PipelinePassRef::access_descriptor_as.

Informs the pass that the next recorded command buffer will read the subresource of node at the specified shader descriptor. The node will be interpreted using view_info.

The AccessType is inferred by the currently bound pipeline. See Access for details.

This function must be called for node before it is read within a record function. For more specific access, see PipelinePassRef::access_descriptor_subrange.

Informs the pass that the next recorded command buffer will read the given node.

The AccessType is inferred by the currently bound pipeline. See Access for details.

This function must be called for node before it is read within a record function. For more specific access, see PipelinePassRef::access_node.

Informs the pass that the next recorded command buffer will read the given node.

The AccessType is inferred by the currently bound pipeline. See Access for details.

This function must be called for node before it is read within a record function. For more specific access, see PipelinePassRef::access_node_mut.

Informs the pass that the next recorded command buffer will read the subresource of node.

The AccessType is inferred by the currently bound pipeline. See Access for details.

This function must be called for node before it is read within a record function. For more specific access, see PipelinePassRef::access_node_subrange.

Informs the pass that the next recorded command buffer will read the subresource of node.

The AccessType is inferred by the currently bound pipeline. See Access for details.

This function must be called for node before it is read within a record function. For more specific access, see PipelinePassRef::access_node_subrange_mut.

Finalizes a pass and returns the render graph so that additional passes may be added.

Informs the pass that the next recorded command buffer will write the given node at the specified shader descriptor.

The AccessType is inferred by the currently bound pipeline. See Access for details.

This function must be called for node before it is written within a record function. For more specific access, see PipelinePassRef::access_descriptor.

Informs the pass that the next recorded command buffer will write the given node at the specified shader descriptor. The node will be interpreted using view_info.

The AccessType is inferred by the currently bound pipeline. See Access for details.

This function must be called for node before it is written within a record function. For more specific access, see PipelinePassRef::access_descriptor_as.

Informs the pass that the next recorded command buffer will write the subresource of node at the specified shader descriptor. The node will be interpreted using view_info.

The AccessType is inferred by the currently bound pipeline. See Access for details.

This function must be called for node before it is written within a record function. For more specific access, see PipelinePassRef::access_descriptor_subrange.

Informs the pass that the next recorded command buffer will write the given node.

The AccessType is inferred by the currently bound pipeline. See Access for details.

This function must be called for node before it is written within a record function. For more specific access, see PipelinePassRef::access_node.

Informs the pass that the next recorded command buffer will write the given node.

The AccessType is inferred by the currently bound pipeline. See Access for details.

This function must be called for node before it is written within a record function. For more specific access, see PipelinePassRef::access_node_mut.

Informs the pass that the next recorded command buffer will write the subresource of node.

The AccessType is inferred by the currently bound pipeline. See Access for details.

This function must be called for node before it is written within a record function. For more specific access, see PipelinePassRef::access_node_subrange.

Informs the pass that the next recorded command buffer will write the subresource of node.

The AccessType is inferred by the currently bound pipeline. See Access for details.

This function must be called for node before it is written within a record function. For more specific access, see PipelinePassRef::access_node_subrange_mut.

Begin recording a computing command buffer.

Specifies VK_ATTACHMENT_LOAD_OP_DONT_CARE for the render pass attachment, and loads an image into the framebuffer.

NOTE: Order matters, call attach before resolve or store.

Specifies VK_ATTACHMENT_LOAD_OP_DONT_CARE for the render pass attachment, and loads an image into the framebuffer.

NOTE: Order matters, call attach before resolve or store.

Specifies VK_ATTACHMENT_LOAD_OP_DONT_CARE for the render pass attachment, and loads an image into the framebuffer.

NOTE: Order matters, call attach before resolve or store.

Specifies VK_ATTACHMENT_LOAD_OP_DONT_CARE for the render pass attachment, and loads an image into the framebuffer.

NOTE: Order matters, call attach before resolve or store.

Clears the render pass attachment of any existing data.

NOTE: Order matters, call clear before resolve or store.

Clears the render pass attachment of any existing data.

NOTE: Order matters, call clear before resolve or store.

Clears the render pass attachment of any existing data.

NOTE: Order matters, call clear before resolve or store.

Clears the render pass attachment of any existing data.

NOTE: Order matters, call clear before resolve or store.

Clears the render pass attachment of any existing data.

NOTE: Order matters, call clear before resolve or store.

Clears the render pass attachment of any existing data.

NOTE: Order matters, call clear before resolve or store.

Specifies VK_ATTACHMENT_LOAD_OP_LOAD for the render pass attachment, and loads an image into the framebuffer.

NOTE: Order matters, call load before resolve or store.

Specifies VK_ATTACHMENT_LOAD_OP_LOAD for the render pass attachment, and loads an image into the framebuffer.

NOTE: Order matters, call load before resolve or store.

Specifies VK_ATTACHMENT_LOAD_OP_LOAD for the render pass attachment, and loads an image into the framebuffer.

NOTE: Order matters, call load before resolve or store.

Specifies VK_ATTACHMENT_LOAD_OP_LOAD for the render pass attachment, and loads an image into the framebuffer.

NOTE: Order matters, call load before resolve or store.

Begin recording a graphics command buffer.

Resolves a multisample framebuffer to a non-multisample image for the render pass attachment.

NOTE: Order matters, call resolve after clear or load.

Resolves a multisample framebuffer to a non-multisample image for the render pass attachment.

NOTE: Order matters, call resolve after clear or load.

Resolves a multisample framebuffer to a non-multisample image for the render pass attachment.

NOTE: Order matters, call resolve after clear or load.

Resolves a multisample framebuffer to a non-multisample image for the render pass attachment.

NOTE: Order matters, call resolve after clear or load.

Sets a particular depth/stencil mode.

Sets the [renderArea](https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkRenderPassBeginInfo.html#_c_specification) field when beginning a render pass.

NOTE: Setting this value will cause the viewport and scissor to be unset, which is not the default behavior. When this value is set you should call set_viewport and set_scissor on the subpass.

If not set, this value defaults to the first loaded, resolved, or stored attachment dimensions and sets the viewport and scissor to the same values, with a 0..1 depth if not specified by set_depth_stencil.

Specifies VK_ATTACHMENT_STORE_OP_STORE for the render pass attachment, and stores the rendered pixels into an image.

NOTE: Order matters, call store after clear or load.

Specifies VK_ATTACHMENT_STORE_OP_STORE for the render pass attachment, and stores the rendered pixels into an image.

NOTE: Order matters, call store after clear or load.

Specifies VK_ATTACHMENT_STORE_OP_STORE for the render pass attachment, and stores the rendered pixels into an image.

NOTE: Order matters, call store after clear or load.

Specifies VK_ATTACHMENT_STORE_OP_STORE for the render pass attachment, and stores the rendered pixels into an image.

NOTE: Order matters, call store after clear or load.

Begin recording a ray tracing command buffer.

Trait Implementations

Binds the resource to a graph-like object. Read more
Binds the resource to a graph-like object. Read more
Binds the resource to a graph-like object. 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

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.