Contents

maxArgumentBufferSamplerCount

The maximum number of unique argument buffer samplers per app.

Declaration

var maxArgumentBufferSamplerCount: Int { get }

Discussion

This limit only applies to samplers that support argument buffers (see supportArgumentBuffers). An MTLSamplerState instance is only unique if the properties of the MTLSamplerDescriptor instance that created it are unique. For example, two samplers with equal minFilter values but different magFilter values are unique.

See Improving CPU performance by using argument buffers for more information about argument buffer tiers, limits, and capabilities.

See Also

Creating argument buffer encoders