---
title: bufferStructType
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlargument/bufferstructtype
---

# bufferStructType

A description of the structure data of a buffer argument.

## Declaration

```swift
var bufferStructType: MTLStructType? { get }
```

## Discussion

Discussion If the buffer data type is MTLDataType.struct, this property describes the type of the struct; otherwise, this property is nil.

## See Also

### Describing a buffer argument

- [bufferAlignment](metal/mtlargument/bufferalignment.md)
- [bufferDataSize](metal/mtlargument/bufferdatasize.md)
- [bufferDataType](metal/mtlargument/bufferdatatype.md)
- [bufferPointerType](metal/mtlargument/bufferpointertype.md)
