Enum TextureFlags
Texture wrapping and filtering mode. Default is repeat and linear
Namespace: Unity.Tiny
Syntax
[Flags]
public enum TextureFlags : uint
Fields
Name | Description | Value |
---|---|---|
Trilinear | Trilinear filtering |
0 |
URepeat | Repeat along texture V-axis |
0 |
UVRepeat | Repeat |
0 |
VRepeat | Repeat along texture U-axis |
0 |
UMirror | Mirror along texture U-axis |
1 |
UClamp | Clamp along texture U-axis |
2 |
VMirror | Mirror along texture V-axis |
4 |
UVMirror | Mirror on both axis |
5 |
VClamp | Clamp along texture V-axis |
8 |
UVClamp | Clamp on both axis |
10 |
Linear | Linear filtering |
1024 |
Nearest | 1344 | |
Point | Point filtering |
1344 |
Srgb | sRGB Color texture |
65536 |
MimapEnabled | Generate mip map |
131072 |
IsNormalMap | Is texture a normal map |
262144 |