commandQueue
If this scene uses a MTLCommandQueue for rendering, returns it.
Declaration
@MainActor @preconcurrency var commandQueue: (any MTLCommandQueue)? { get }Discussion
You use this command queue for GPU workloads that need consistent ordering relative to RealityKit’s scene rendering.