Common | |
public enum CommonSamplerTypes
| Member name | Value | Description |
|---|---|---|
| Other | 0 | Not a common sampler |
| Wrap | 1 | Warp sampler repeats the texture |
| TransparentBorder | 2 | TransparentBorder renders a transparent color for all pixels out of the texture's border. |
| Mirror | 3 | Mirror sampler mirrors and repeats the texture |
| Clamp | 4 | Sample that will clamp to the edge color (pixels outside the texture will use color of the nearest edge pixel). |
| ClampNoInterpolation | 5 | 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. |