Skip to main content

Module encoder

Module encoder 

Source
Expand description

Metal command encoders.

Corresponds to Metal/MTLCommandEncoder.hpp, Metal/MTLBlitCommandEncoder.hpp, Metal/MTLComputeCommandEncoder.hpp, Metal/MTLRenderCommandEncoder.hpp, Metal/MTLParallelRenderCommandEncoder.hpp, and Metal/MTLResourceStateCommandEncoder.hpp.

Command encoders are used to encode GPU commands into command buffers. Each encoder type corresponds to a specific type of GPU work:

Structsยง

BlitCommandEncoder
A command encoder for data transfer operations.
ComputeCommandEncoder
A command encoder for compute operations.
DispatchThreadgroupsIndirectArguments
Indirect arguments for dispatching threadgroups.
DispatchThreadsIndirectArguments
Indirect arguments for dispatching threads.
MapIndirectArguments
Arguments for indirect texture mapping operations.
ParallelRenderCommandEncoder
A command encoder that creates multiple render command encoders that render in parallel.
RenderCommandEncoder
A command encoder for rendering operations.
ResourceStateCommandEncoder
A command encoder for resource state operations.
StageInRegionIndirectArguments
Indirect arguments for stage-in region.