---
title: PartRenderer.Instruction
framework: hvf
role: symbol
role_heading: Enumeration
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/instruction
---

# PartRenderer.Instruction

The set of instructions passed to a render context

## Declaration

```swift
enum Instruction
```

## Topics

### Enumeration Cases

- [PartRenderer.Instruction.addCubic(cp1:cp2:on:)](hvf/partrenderer/instruction/addcubic(cp1:cp2:on:).md)
- [PartRenderer.Instruction.addLine(_:)](hvf/partrenderer/instruction/addline(_:).md)
- [PartRenderer.Instruction.addPoint(_:)](hvf/partrenderer/instruction/addpoint(_:).md)
- [PartRenderer.Instruction.addQuad(off:on:)](hvf/partrenderer/instruction/addquad(off:on:).md)
- [PartRenderer.Instruction.beginPart(id:name:)](hvf/partrenderer/instruction/beginpart(id:name:).md)
- [PartRenderer.Instruction.beginPath](hvf/partrenderer/instruction/beginpath.md)
- [PartRenderer.Instruction.closePath](hvf/partrenderer/instruction/closepath.md)
- [PartRenderer.Instruction.endPart(id:name:)](hvf/partrenderer/instruction/endpart(id:name:).md)
- [PartRenderer.Instruction.endPath](hvf/partrenderer/instruction/endpath.md)
- [PartRenderer.Instruction.stop](hvf/partrenderer/instruction/stop.md)
