<!--
{
  "availability" : [
    "iOS: 4.0.0 -",
    "iPadOS: 4.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.4.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreVideo",
  "identifier" : "/documentation/CoreVideo/CVFillExtendedPixelsCallBackData",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core Video"
    ],
    "preciseIdentifier" : "c:@SA@CVFillExtendedPixelsCallBackData"
  },
  "title" : "CVFillExtendedPixelsCallBackData"
}
-->

# CVFillExtendedPixelsCallBackData

A structure for holding information that describes a custom extended pixel fill algorithm.

```
struct CVFillExtendedPixelsCallBackData
```

## Overview

You must fill out this structure and store it as part of your pixel format description Core Foundation dictionary (key: `kCVPixelFormatFillExtendedPixelsCallback`, type: `CFData`). However, if your custom pixel format never needs the functionality of [`CVPixelBufferFillExtendedPixels(_:)`](/documentation/CoreVideo/CVPixelBufferFillExtendedPixels(_:)), you don’t need to add this key or implement the associated callback.

For more information about defining a custom pixel format, see [Pixel Format Description Keys](/documentation/CoreVideo/pixel-format-description-keys).

## Topics

### Initializers

[`init()`](/documentation/CoreVideo/CVFillExtendedPixelsCallBackData/init())

[`init(version:fillCallBack:refCon:)`](/documentation/CoreVideo/CVFillExtendedPixelsCallBackData/init(version:fillCallBack:refCon:))

### Properties

[`fillCallBack`](/documentation/CoreVideo/CVFillExtendedPixelsCallBackData/fillCallBack)

[`refCon`](/documentation/CoreVideo/CVFillExtendedPixelsCallBackData/refCon)

A pointer to application-defined data that is passed to your custom pixel fill function.

[`version`](/documentation/CoreVideo/CVFillExtendedPixelsCallBackData/version)

The version of this fill algorithm.



---

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)