Re-exports§
pub use self::render_command::RenderCommand;
Modules§
- bind 🔒
- bundle 🔒Render Bundles
- clear 🔒
- compute 🔒
- draw 🔒
- pass 🔒Generic pass functions that both compute and render passes need.
- query 🔒
- render 🔒
- transfer 🔒
Macros§
- Checks the state of a
compute::ComputePass
orrender::RenderPass
and evaluates to a mutable reference to the [BasePass
], if the pass is open and valid. - pass_
try 🔒Handles the error case in an expression of typeResult<T, E>
.
Structs§
- Describes a depth/stencil attachment to a render pass.
- Look at the documentation for
CommandBufferMutable
for an explanation of the fields in this struct. This is the “built” counterpart to that type. - A buffer of commands to be submitted to the GPU for execution.
- The mutable state of a
CommandBuffer
. - A raw
CommandEncoder
, and the rawCommandBuffer
s built from it. - A pass’s encoder state and its validity are two distinct conditions, i.e., the full matrix of (open, ended) x (valid, invalid) is possible.
- Error encountered when performing a compute pass, stored for later reporting when encoding ends.
- Describes an individual channel within a render pass, such as color, depth, or stencil.
- Variant of
EncoderStateError
that includes the pass scope. - Describes the writing of timestamp values in a render or compute pass.
- A guard to enforce error reporting, for a
CommandBuffer
in theRecording
state. - Describes a
RenderBundleEncoder
. - Error encountered when finishing recording a render bundle.
- A pass’s encoder state and its validity are two distinct conditions, i.e., the full matrix of (open, ended) x (valid, invalid) is possible.
- Describes a color attachment to a render pass.
- Describes a depth/stencil attachment to a render pass.
- Describes the attachments of a render pass.
- Error encountered when performing a render pass.
Enums§
- Describes an attachment location in words.
- Error encountered while attempting a clear.
- The current state of a command or pass encoder.
- Error encountered when performing a compute pass.
- Error type returned from
RenderBundleEncoder::new
if the sample count is invalid. - Error validating a draw call.
- Errors related to the state of a command or pass encoder.
- Error type returned from
RenderBundleEncoder::new
if the sample count is invalid. - Operation to perform to the output attachment at the start of a render pass.
- A command that can be recorded in a pass or bundle.
- Error encountered when dealing with queries
- Error encountered while trying to use queries
- Error encountered when encoding a render command. This is the shared error set between render bundles and passes.
- Error encountered when performing a render pass.
- Error encountered while trying to resolve a query.
- Operation to perform to the output attachment at the end of a render pass.
- Error encountered while attempting a data transfer.
Constants§
Traits§
- Helper to attach
PassErrorScope
to errors.