pub enum PipelineStage {
Show 14 variants TopOfPipe, DrawIndirect, VertexInput, VertexShader, EarlyFragmentTests, FragmentShader, LateFragmentTests, ColorAttachmentOutput, ComputeShader, Transfer, BottomOfPipe, Host, RayTracingShader, AccelerationStructureBuild,
}
Expand description

Enum to specify one pipeline stage.

Variants§

§

TopOfPipe

Pseudo-stage that precedes all other stages and doesn’t execute any commands. Using it in first scope of dependency will not cause any waiting, because no operations should be waited upon. Using it in second scope will make all operations in second scope to wait for operations first scope.

§

DrawIndirect

Stage at which indirect draw buffer is read.

§

VertexInput

Stage at which vertex buffers are read.

§

VertexShader

Stage at which vertex shader is executed.

§

EarlyFragmentTests

Stage at which early fragment depth and stencil test is performed before fragment shader execution.

§

FragmentShader

Stage at which fragment shader is executed.

§

LateFragmentTests

Stage at which late fragment depth and stencil test is performed after fragment shader execution.

§

ColorAttachmentOutput

Stage at which color output of fragment shader is written and multi-sample resolve operation happens.

§

ComputeShader

Stage at which compute shader is executed.

§

Transfer

Stage at which transfer commands (Copy, Blit etc) are executed.

§

BottomOfPipe

Pseudo-stage that follows all other stages and doesn’t execute any commands. Using it in first scope will make operations in second scope to wait for all operations first scope. Using it in second scope of dependency will not cause any waiting, because no operations should be waited upon.

§

Host

Pseudo-stage at which HOST access to resources is performed. It has very limited use because command submission creates memory dependency between host access and device operations.

§

RayTracingShader

Stage at which ray-tracing pipeline is executed.

§

AccelerationStructureBuild

Stage at which acceleration structures are built.

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
Feeds this value into the given Hasher. Read more
Feeds a slice of this type into the given Hasher. Read more
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

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
Checks if this value is equivalent to the given key. 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 resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
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.