<!--
{
  "documentType" : "article",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/getting-the-buffer-size",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Getting the Buffer Size"
}
-->

# Getting the Buffer Size

Calculate the size of the temporary buffer needed by a high-level geometry functions.

## Topics

### Getting the Buffer Size

Use the [`var kvImageGetTempBufferSize: Int`](/documentation/Accelerate/kvImageGetTempBufferSize)

A flag that returns the minimum temporary buffer size for the operation, given the parameters provided. flag with the appropriate geometry function.

---

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)