Contents

waitForRenderCompletion(on:)

Waits for automatic rendering to complete.

Declaration

@MainActor static func waitForRenderCompletion(on entity: Entity) async -> USDStageComponent.RenderResult

Parameters

  • entity:

    The entity with a USDStageComponent.

Return Value

The result of the render operation.

Discussion

If the entity does not have a USDStageComponent attached, or if the attached component is in manual mode, the result is .failed.