Documentation Language: Swift

Method

execute(in:)

Executes all statements in this block within the given context.

@MainActor func execute(in context: MTLExecutionContext) async throws

Parameters

context

The execution context

Discussion

If the block is not inlined, indentation is pushed before execution and popped afterward. Statements are executed sequentially.