<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreAI",
  "identifier" : "/documentation/CoreAI/InferenceFunction/AsyncValue/pixelBuffer",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core AI"
    ],
    "preciseIdentifier" : "s:13CoreAIRuntime17InferenceFunctionV10AsyncValueC11pixelBuffer0A5Video015CVReadOnlyPixelH0CSgvp"
  },
  "title" : "pixelBuffer"
}
-->

# pixelBuffer

Waits for any pending write access on the underlying pixel buffer to complete, then returns it.

```
final var pixelBuffer: CVReadOnlyPixelBuffer? { get async throws }
```

## Discussion

Returns `nil` if `kind` is not `.image`.

---

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)