Instance Property

maxArgumentBufferSamplerCount

The maximum number of unique argument buffer samplers per app.

Required.

Declaration

@property(readonly) NSUInteger maxArgumentBufferSamplerCount;

Discussion

This limit is only applicable to samplers that have their supportArgumentBuffers property set to YES. A MTLSamplerState object is considered unique if the configuration of its originating MTLSamplerDescriptor properties is unique. For example, two samplers with equal minFilter values but different magFilter values are considered unique.

See About Argument Buffers for more information about argument buffer tiers, limits, and capabilities.

See Also

Querying Argument Buffer Support

argumentBuffersSupport

Determines the argument buffers tier supported by the device.

Required.