---
title: MTLAccelerationStructurePassSampleBufferAttachmentDescriptor
framework: metal
role: symbol
role_heading: Class
path: metal/mtlaccelerationstructurepasssamplebufferattachmentdescriptor
---

# MTLAccelerationStructurePassSampleBufferAttachmentDescriptor

## Declaration

```swift
class MTLAccelerationStructurePassSampleBufferAttachmentDescriptor
```

## Mentioned in

Sampling GPU data into counter sample buffers

## Topics

### Instance Properties

- [endOfEncoderSampleIndex](metal/mtlaccelerationstructurepasssamplebufferattachmentdescriptor/endofencodersampleindex.md)
- [sampleBuffer](metal/mtlaccelerationstructurepasssamplebufferattachmentdescriptor/samplebuffer.md)
- [startOfEncoderSampleIndex](metal/mtlaccelerationstructurepasssamplebufferattachmentdescriptor/startofencodersampleindex.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

### Acceleration structures passes

- [MTLAccelerationStructurePassDescriptor](metal/mtlaccelerationstructurepassdescriptor.md)
- [MTLAccelerationStructurePassSampleBufferAttachmentDescriptorArray](metal/mtlaccelerationstructurepasssamplebufferattachmentdescriptorarray.md)
