---
title: "waitForRenderCompletion(on:)"
framework: usdkit
role: symbol
role_heading: Type Method
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: "usdkit/usdstagecomponent/waitforrendercompletion(on:)"
---

# waitForRenderCompletion(on:)

Waits for automatic rendering to complete.

## Declaration

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

## Parameters

- `entity`: The entity with a USDStageComponent.

## Return Value

Return Value The result of the render operation.

## Discussion

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