pub struct RenderGraph {
    pub debug: bool,
    /* private fields */
}
Expand description

A composable graph of render pass operations.

RenderGraph instances are are intended for one-time use.

The design of this code originated with a combination of PassBuilder and render_graph.cpp.

Fields

debug: bool

Set to true (when in debug mode) in order to get a breakpoint hit where you want.

Implementations

Constructs a new RenderGraph.

Begins a new pass.

Binds a Vulkan acceleration structure, buffer, or image to this graph.

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

Copy an image, potentially performing format conversion.

Copy a region of an image, potentially performing format conversion.

Copy regions of an image, potentially performing format conversion.

Clear a color image.

Clear a color image.

Clears a depth/stencil image.

Clears a depth/stencil image.

Copy data between buffers

Copy data between buffer regions.

Copy data between buffer regions.

Copy data from a buffer into an image.

Copy data from a buffer into an image.

Copy data from a buffer into an image.

Copy data between images.

Copy data between images.

Copy data between images.

Copy image data into a buffer.

Copy image data into a buffer.

Copy image data into a buffer.

Fill a region of a buffer with a fixed value.

Fill a region of a buffer with a fixed value.

Returns information used to crate a node.

Finalizes the graph and provides an object with functions for submitting the resulting commands.

Removes a node from this graph.

Future access to node on this graph will return invalid results.

Note: data must not exceed 65536 bytes.

Note: data must not exceed 65536 bytes.

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
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
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
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
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
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
Formats the value using the given formatter. Read more
Unbinds the resource from a graph-like object. Read more
Unbinds the resource from a graph-like object. Read more
Unbinds the resource from a graph-like object. Read more
Unbinds the resource from a graph-like object. Read more
Unbinds the resource from a graph-like object. Read more
Unbinds the resource from 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.