Expand description
§Command Encoding
TODO: High-level description of command encoding.
The convention in this module is that functions accepting a [&mut dyn hal::DynCommandEncoder
] are low-level helpers and may assume the encoder is
in the open state, ready to encode commands. Encoders that are not open
should be nested within some other container that provides additional
state tracking, like [InnerCommandEncoder
].
Modules§
- bundle_
ffi - ffi
- Types that are useful for FFI bindings to
wgpu
.
Structs§
- ArcRender
Pass Depth Stencil Attachment - Describes a depth/stencil attachment to a render pass.
- Command
Buffer - A buffer of commands to be submitted to the GPU for execution.
- Command
Buffer Mutable - The mutable state of a
CommandBuffer
. - Compute
Pass - 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.
- Compute
Pass Descriptor - Compute
Pass Error - Error encountered when performing a compute pass, stored for later reporting when encoding ends.
- Pass
Channel - Describes an individual channel within a render pass, such as color, depth, or stencil.
- Pass
State Error - Variant of
EncoderStateError
that includes the pass scope. - Pass
Timestamp Writes - Describes the writing of timestamp values in a render or compute pass.
- Rect
- Render
Bundle - Render
Bundle Encoder - Render
Bundle Encoder Descriptor - Describes a
RenderBundleEncoder
. - Render
Bundle Error - Error encountered when finishing recording a render bundle.
- Render
Pass - 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.
- Render
Pass Color Attachment - Describes a color attachment to a render pass.
- Render
Pass Depth Stencil Attachment - Describes a depth/stencil attachment to a render pass.
- Render
Pass Descriptor - Describes the attachments of a render pass.
- Render
Pass Error - Error encountered when performing a render pass.
Enums§
- ArcCommand
- ArcCompute
Command - Equivalent to
ComputeCommand
but the Ids resolved into resource Arcs. - Attachment
Error - Attachment
Error Location - Describes an attachment location in words.
- Clear
Error - Error encountered while attempting a clear.
- Color
Attachment Error - Command
- Command
Encoder Error - Compute
Command - Compute
Pass Error Inner - Error encountered when performing a compute pass.
- Copy
Side - Create
Render Bundle Error - Error type returned from
RenderBundleEncoder::new
if the sample count is invalid. - Debug
Group Error - Dispatch
Error - Draw
Command Family - The type of draw command(indexed or not, or mesh shader)
- Draw
Error - Error validating a draw call.
- Draw
Kind - Encoder
State Error - Errors related to the state of a command or pass encoder.
- Execution
Error - 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.
- Pass
Error Scope - A command that can be recorded in a pass or bundle.
- Query
Error - Error encountered when dealing with queries
- Query
UseError - Error encountered while trying to use queries
- Render
Command Error - Error encountered when encoding a render command. This is the shared error set between render bundles and passes.
- Render
Pass Error Inner - Error encountered when performing a render pass.
- Resolve
Error - Error encountered while trying to resolve a query.
- Resolved
Pass Channel - Simplified
Query Type - StoreOp
- Operation to perform to the output attachment at the end of a render pass.
- Timestamp
Writes Error - Transfer
Error - Error encountered while attempting a data transfer.
Type Aliases§
- ArcRender
Pass Color Attachment - ArcRender
Pass Color Attachment Array - Compute
Base Pass - Copy
External Image Dest Info - cbindgen:ignore
- Render
Base Pass - Render
Bundle Descriptor - Texel
Copy Buffer Info - cbindgen:ignore
- Texel
Copy Texture Info - cbindgen:ignore