MTLSamplerDescriptor
An object that you use to configure a texture sampler.
Declaration
class MTLSamplerDescriptorMentioned in
Overview
To make a sampler, create and configure an MTLSamplerDescriptor instance and then call an MTLDevice instance’s makeSamplerState(descriptor:) method. After you create the sampler, you can release the descriptor or reconfigure its properties to create other samplers.
Topics
Declaring the coordinate space
Declaring addressing modes
Declaring filter modes
minFiltermagFiltermipFilterlodMinClamplodMaxClamplodAveragemaxAnisotropyMTLSamplerMinMagFilterMTLSamplerMipFilter