Skip to main content

Module sampler

Module sampler 

Source
Expand description

Metal sampler state.

Corresponds to Metal/MTLSampler.hpp.

Sampler states define how textures are sampled in shaders.

Structsยง

SamplerDescriptor
A configuration for a sampler state.
SamplerState
An object that defines how texture coordinates map to texels.