Contents

commandBuffer

The command buffer of the render.

Declaration

@MainActor var commandBuffer: (any MTLCommandBuffer)? { get }

Discussion

Use this to present a drawable and commit the command buffer to finalize the frame.