Contents

commandQueue

The Metal command queue this renderer uses for rendering.

Declaration

var commandQueue: (any MTLCommandQueue)? { get }

Discussion

Use this property to schedule additional command buffers for the Metal device to execute as part of the render cycle. For example, you can use a compute command encoder to modify the vertex data in a Metal buffer for use by a SCNGeometrySource object.

See Also

Customizing Scene Rendering with Metal