TextureWrapMode Enumeration |
LightningChart .NET Help
Texture wrapping. Descriptions copied from MSDN: https://msdn.microsoft.com/en-us/library/windows/desktop/bb322814(v=vs.85).aspx
Namespace:
Arction.WinForms.Charting
Assembly:
Arction.WinForms.Charting.LightningChart (in Arction.WinForms.Charting.LightningChart.dll) Version: 10.3.1
Syntaxpublic enum TextureWrapMode
Public Enumeration TextureWrapMode
public enum class TextureWrapMode
Members|
| Member name | Value | Description |
|---|
| Wrap | 1 |
Tiles the texture at every integer junction. For example, for u values between 0 and 3, the texture is repeated three times. No mirroring is performed.
|
| Mirror | 2 |
Similar to Wrap, except that the texture is flipped at every integer junction. For u values between 0 and 1, for example, the texture is addressed normally; between 1 and 2, the texture is flipped (mirrored); between 2 and 3, the texture is normal again, and so on.
|
| Clamp | 3 |
Texture coordinates outside the range [0.0, 1.0] are set to the texture color at 0.0 or 1.0, respectively.
|
| Border | 4 |
Texture coordinates outside the range [0.0, 1.0] are set to the border color.
|
| MirrorOnce | 5 |
Similar to Mirror and Clamp. Takes the absolute value of the texture coordinate (thus, mirroring around 0), and then clamps to the maximum value. The most common usage is for volume textures, where support for the full MirrorOnce texture-addressing mode is not necessary, but the data is symmetrical around the one axis.
|
See Also