<!--
{
  "availability" : [
    "iOS: 18.4.0 -",
    "iPadOS: 18.4.0 -",
    "macCatalyst: -",
    "macOS: 15.4.0 -",
    "tvOS: 18.4.0 -",
    "visionOS: 2.4.0 -",
    "watchOS: 11.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "hvf",
  "identifier" : "/documentation/hvf/PartRenderer/Instruction",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "hvf"
    ],
    "preciseIdentifier" : "s:3hvf12PartRendererC11InstructionO"
  },
  "title" : "PartRenderer.Instruction"
}
-->

# PartRenderer.Instruction

The set of instructions passed to a render context

```
enum Instruction
```

## Topics

### Enumeration Cases

[`case addCubic(cp1: PartRenderer.Point, cp2: PartRenderer.Point, on: PartRenderer.Point)`](/documentation/hvf/PartRenderer/Instruction/addCubic(cp1:cp2:on:))

[`case addLine(PartRenderer.Point)`](/documentation/hvf/PartRenderer/Instruction/addLine(_:))

[`case addPoint(PartRenderer.Point)`](/documentation/hvf/PartRenderer/Instruction/addPoint(_:))

[`case addQuad(off: PartRenderer.Point, on: PartRenderer.Point)`](/documentation/hvf/PartRenderer/Instruction/addQuad(off:on:))

[`case beginPart(id: Int, name: String?)`](/documentation/hvf/PartRenderer/Instruction/beginPart(id:name:))

The name value is for client use and is not set by the loader or scaler

[`case beginPath`](/documentation/hvf/PartRenderer/Instruction/beginPath)

[`case closePath`](/documentation/hvf/PartRenderer/Instruction/closePath)

[`case endPart(id: Int, name: String?)`](/documentation/hvf/PartRenderer/Instruction/endPart(id:name:))

The name value is for client use and is not set by the loader or scaler

[`case endPath`](/documentation/hvf/PartRenderer/Instruction/endPath)

[`case stop`](/documentation/hvf/PartRenderer/Instruction/stop)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)