Module command
Source - allocator ๐
- bind ๐
- bundle ๐
- Render Bundles
- bundle_ffi
- clear ๐
- compute ๐
- compute_command ๐
- draw ๐
- memory_init ๐
- pass ๐
- Generic pass functions that both compute and render passes need.
- query ๐
- ray_tracing ๐
- render ๐
- render_command ๐
- timestamp_writes ๐
- transfer ๐
- transition_resources ๐
- pass_base ๐
- Checks the state of a
compute::ComputePass
or render::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 type
Result<T, E>
.
- ArcRenderPassDepthStencilAttachment
- Describes a depth/stencil attachment to a render pass.
- BakedCommands ๐
- Look at the documentation for
CommandBufferMutable
for an explanation of
the fields in this struct. This is the โbuiltโ counterpart to that type. - BindGroupStateChange ๐
- CommandBuffer
- A buffer of commands to be submitted to the GPU for execution.
- CommandBufferMutable
- The mutable state of a
CommandBuffer
. - CommandEncoder ๐
- A raw
CommandEncoder
, and the raw CommandBuffer
s built from it. - ComputePass
- 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.
- ComputePassDescriptor
- ComputePassError
- Error encountered when performing a compute pass, stored for later reporting
when encoding ends.
- PassChannel
- Describes an individual channel within a render pass, such as color, depth, or stencil.
- PassStateError
- Variant of
EncoderStateError
that includes the pass scope. - PassTimestampWrites
- Describes the writing of timestamp values in a render or compute pass.
- RecordingGuard ๐
- A guard to enforce error reporting, for a
CommandBuffer
in the Recording
state. - Rect
- RenderBundle
- RenderBundleEncoder
- RenderBundleEncoderDescriptor
- Describes a
RenderBundleEncoder
. - RenderBundleError
- Error encountered when finishing recording a render bundle.
- RenderPass
- 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.
- RenderPassColorAttachment
- Describes a color attachment to a render pass.
- RenderPassDepthStencilAttachment
- Describes a depth/stencil attachment to a render pass.
- RenderPassDescriptor
- Describes the attachments of a render pass.
- RenderPassError
- Error encountered when performing a render pass.
- StateChange ๐
- AttachmentError
- AttachmentErrorLocation
- Describes an attachment location in words.
- ClearError
- Error encountered while attempting a clear.
- ColorAttachmentError
- CommandEncoderError
- CommandEncoderStatus ๐
- The current state of a command or pass encoder.
- ComputeCommand
- ComputePassErrorInner
- Error encountered when performing a compute pass.
- CopySide
- CreateRenderBundleError
- Error type returned from
RenderBundleEncoder::new
if the sample count is invalid. - DispatchError
- DrawError
- Error validating a draw call.
- DrawKind
- EncoderStateError
- Errors related to the state of a command or pass encoder.
- ExecutionError
- Error type returned from
RenderBundleEncoder::new
if the sample count is invalid. - LoadOp
- Operation to perform to the output attachment at the start of a render pass.
- PassErrorScope
- A command that can be recorded in a pass or bundle.
- QueryError
- Error encountered when dealing with queries
- QueryUseError
- Error encountered while trying to use queries
- RenderCommandError
- Error encountered when encoding a render command.
This is the shared error set between render bundles and passes.
- RenderPassErrorInner
- Error encountered when performing a render pass.
- ResolveError
- Error encountered while trying to resolve a query.
- ResolvedPassChannel
- SimplifiedQueryType
- StoreOp
- Operation to perform to the output attachment at the end of a render pass.
- TimestampWritesError
- TransferError
- Error encountered while attempting a data transfer.
- PUSH_CONSTANT_CLEAR_ARRAY ๐
- MapPassErr ๐
- Helper to attach
PassErrorScope
to errors.
- push_constant_clear ๐
- ArcRenderPassColorAttachment
- ComputeBasePass
- CopyExternalImageDestInfo
- RenderBasePass
- RenderBundleDescriptor
- TexelCopyBufferInfo
- TexelCopyTextureInfo