Describes the properties needed to create a GPU sampler.
-
debugName: This label can be applied as debug label for GPU debugging.
-
magFilter: The (magnification) filter used to combine pixels when the sample area is smaller than a pixel.
-
minFilter: The (minification) filter used to combine pixels when the sample area is larger than a pixel.
-
mipFilter: The filter used for combining pixels between two mipmap levels.
-
addressMode***: Wrapping modes.
-
borderColor: The border color for clamped texture values.
-
enableCompare: Enables sampler comparison against a reference value during lookups.
-
compareFunction: The comparison function to apply if sampler compare is enabled.
-
maxAnisotropy: Maximum anisotropic filtering ratio. The default value of 16 corresponds to the previously internal default value. The actual value used is subject to the device maximum supported anisotropy and the HGI_MAX_ANISOTROPY setting. A value of 1 effectively disables anisotropic sampling.
Definition at line 61 of file sampler.h.