---
title: "render(to:)"
framework: hvf
role: symbol
role_heading: Instance Method
platforms: [iOS 18.4+, iPadOS 18.4+, Mac Catalyst 18.4+, macOS 15.4+, tvOS 18.4+, visionOS 2.4+, watchOS 11.4+]
path: "hvf/partrenderer/render(to:)"
---

# render(to:)

Render the current part using the current parameters using the supplied render context If the PartRenderer was created using reusable, all input parameters are intact afterwards; otherwise they are destroyed Returns true if rendering was successful

## Declaration

```swift
func render(to context: @escaping (PartRenderer.Instruction) -> PartRenderer.Action) -> Bool
```
