Click or drag to resize
Ab4d.SharpEngine logo

CommonSamplerTypes Enumeration

CommonSamplerTypes defines the common type of GPU samplers.

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 1.0.8740+deb2991acfe86a95cca780cd4f82bcae2805c1a5
Syntax
C#
public enum CommonSamplerTypes
Members
Member nameValueDescription
Other0 Not a common sampler
Wrap1 Warp sampler repeats the texture
TransparentBorder2 TransparentBorder renders a transparent color for all pixels out of the texture's border.
Mirror3 Mirror sampler mirrors and repeats the texture
Clamp4 Clamp sampler do not render any pixels outsize the texture's border.
ClampNoInterpolation5 Sample that will clamp to the edge color and will not interpolate between colors (will use nearest filter). This can be used for height maps with hard gradient.
See Also