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: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
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