Enum TextureWrapMode
Defines how UV coordinates outside the [0..1] range are handled. Commonly referred to as the 'wrapping mode'
Namespace: SharpAssimp
Assembly: SharpAssimp.dll
Syntax
public enum TextureWrapMode
Fields
Name | Description |
---|---|
Clamp | Texture coordinates outside [0...1] are clamped to the nearest valid value. |
Decal | If the texture coordinates for a pixel are outside [0...1] the texture is not applied to that pixel. |
Mirror | A texture coordinate u|v becomes u1|v1 if (u - (u % 1)) % 2 is zero and 1 - (u % 1) | 1 - (v % 1) otherwise. |
Wrap | A texture coordinate u|v is translated to u % 1| v % 1. |