---
title: MTLBufferLayoutDescriptor
framework: metal
role: symbol
role_heading: Class
path: metal/mtlbufferlayoutdescriptor
---

# MTLBufferLayoutDescriptor

A description of how a compute function fetches input data for an attribute.

## Declaration

```swift
class MTLBufferLayoutDescriptor
```

## Topics

### Describing fetch behavior

- [stride](metal/mtlbufferlayoutdescriptor/stride.md)
- [stepFunction](metal/mtlbufferlayoutdescriptor/stepfunction.md)
- [stepRate](metal/mtlbufferlayoutdescriptor/steprate.md)
- [MTLStepFunction](metal/mtlstepfunction.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Configuring compute pass inputs

- [stageInputDescriptor](metal/mtlcomputepipelinedescriptor/stageinputdescriptor.md)
- [MTLAttributeDescriptor](metal/mtlattributedescriptor.md)
- [MTLAttributeDescriptorArray](metal/mtlattributedescriptorarray.md)
- [MTLBufferLayoutDescriptorArray](metal/mtlbufferlayoutdescriptorarray.md)
