Instance Property

storageMode

The storage mode to use for the sample buffer.

Declaration

var storageMode: MTLStorageMode { get set }

Discussion

The storage mode must be either MTLStorageMode.shared or MTLStorageMode.private.

See Also

Specifying the Configuration of a Counter Sample Buffer

var counterSet: MTLCounterSet

The counter set to sample.

var label: String

A label for the counter sample buffer.

var sampleCount: Int

The number of samples that can be stored in the buffer.