---
title: size
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlaccelerationstructure/size
---

# size

The size of the acceleration structure’s memory allocation, in bytes.

## Declaration

```swift
var size: Int { get }
```
