MTLSamplerDescriptor

An object that you use to configure a texture sampler.

Members

Functions

borderColor
MTLSamplerBorderColor borderColor()

The border color for clamped texture values.

borderColor
MTLSamplerBorderColor borderColor(MTLSamplerBorderColor )
Undocumented in source.
compareFunction
MTLCompareFunction compareFunction()

The sampler comparison function used when performing a sample compare operation on a depth texture.

compareFunction
MTLCompareFunction compareFunction(MTLCompareFunction )
Undocumented in source.
initialize
MTLSamplerDescriptor initialize()
Undocumented in source.
label
NSString label(NSString )
Undocumented in source.
label
NSString label()

A string that identifies the sampler.

lodAverage
BOOL lodAverage()

A Boolean value that specifies whether the GPU can use an average level of detail (LOD) when sampling from a texture.

lodAverage
BOOL lodAverage(BOOL )
Undocumented in source.
lodMaxClamp
float lodMaxClamp()

The maximum level of detail (LOD) to use when sampling from a texture.

lodMaxClamp
float lodMaxClamp(float )
Undocumented in source.
lodMinClamp
float lodMinClamp()

The minimum level of detail (LOD) to use when sampling from a texture.

lodMinClamp
float lodMinClamp(float )
Undocumented in source.
magFilter
MTLSamplerMinMagFilter magFilter()

The filtering operation for combining pixels within one mipmap level when the sample footprint is smaller than a pixel (magnification).

magFilter
MTLSamplerMinMagFilter magFilter(MTLSamplerMinMagFilter )
Undocumented in source.
maxAnisotropy
NSUInteger maxAnisotropy()

The number of samples that can be taken to improve the quality of sample footprints that are anisotropic.

maxAnisotropy
NSUInteger maxAnisotropy(NSUInteger )
Undocumented in source.
minFilter
MTLSamplerMinMagFilter minFilter()

The filtering option for combining pixels within one mipmap level when the sample footprint is larger than a pixel (minification).

minFilter
MTLSamplerMinMagFilter minFilter(MTLSamplerMinMagFilter )
Undocumented in source.
mipFilter
MTLSamplerMipFilter mipFilter()

The filtering option for combining pixels between two mipmap levels.

mipFilter
MTLSamplerMipFilter mipFilter(MTLSamplerMipFilter )
Undocumented in source.
normalizedCoordinates
BOOL normalizedCoordinates()

A Boolean value that indicates whether texture coordinates are normalized to the range [0.0, 1.0].

rAddressMode
MTLSamplerAddressMode rAddressMode()

The address mode for the texture depth (r) coordinate.

rAddressMode
MTLSamplerAddressMode rAddressMode(MTLSamplerAddressMode )
Undocumented in source.
sAddressMode
MTLSamplerAddressMode sAddressMode()

The address mode for the texture width (s) coordinate.

sAddressMode
MTLSamplerAddressMode sAddressMode(MTLSamplerAddressMode )
Undocumented in source.
supportArgumentBuffers
BOOL supportArgumentBuffers()

A Boolean value that specifies whether the sampler can be encoded into an argument buffer.

supportArgumentBuffers
BOOL supportArgumentBuffers(BOOL )
Undocumented in source.
tAddressMode
MTLSamplerAddressMode tAddressMode()

The address mode for the texture height (t) coordinate.

tAddressMode
MTLSamplerAddressMode tAddressMode(MTLSamplerAddressMode )
Undocumented in source.

Mixins

__anonymous
mixin ObjcExtend!NSObject
Undocumented in source.

Static functions

alloc
MTLSamplerDescriptor alloc()
Undocumented in source.

Meta