Contents

sampleBufferAttachments

The sample buffers that the compute pass can access.

Declaration

var sampleBufferAttachments: MTLComputePassSampleBufferAttachmentDescriptorArray { get }

Mentioned in

Discussion

The GPU uses sample buffers to record performance information. See GPU counters and counter sample buffers, Sampling GPU data into counter sample buffers, and MTLCounter for more information.