---
title: supportedBufferPixelFormats()
framework: quartz
role: symbol
role_heading: Instance Method
path: quartz/qcpluginoutputimageprovider/supportedbufferpixelformats()
---

# supportedBufferPixelFormats()

Returns a list of pixel formats that are supported for rendering to a memory buffer.

## Declaration

```swift
optional func supportedBufferPixelFormats() -> [Any]!
```

## Return Value

Return Value A list of pixel formats, in order of preference, that the image can be rendered to in memory, or nil if the image provider does not support rendering to the CPU.

## See Also

### Providing Information About the Rendering Destination

- [supportedRenderedTexturePixelFormats()](quartz/qcpluginoutputimageprovider/supportedrenderedtexturepixelformats().md)
- [canRender(withCGLContext:)](quartz/qcpluginoutputimageprovider/canrender(withcglcontext:).md)
