<!--
{
  "documentType" : "article",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/vImage/PixelBuffer/AccelerateMatrixBuffer-Implementations",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "AccelerateMatrixBuffer Implementations"
}
-->

# AccelerateMatrixBuffer Implementations

## Topics

### Instance Methods

[`func withUnsafeBufferPointer<R>((UnsafeBufferPointer<Format.ComponentType>) throws -> R) rethrows -> R`](/documentation/Accelerate/vImage/PixelBuffer/withUnsafeBufferPointer(_:))

Calls the given closure with a pointer to the buffer’s contiguous storage.

---

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)