Specifies various texture flags.
Namespace: Internal.SharpBgfxAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax[FlagsAttribute]
public enum TextureFlags
Members| Member name | Value | Description |
|---|
| None | 0 |
No flags set.
|
| MirrorU | 1 |
Mirror the texture in the U coordinate.
|
| ClampU | 2 |
Clamp the texture in the U coordinate.
|
| BorderU | 3 |
Use a border color for addresses outside the range in the U coordinate.
|
| MirrorV | 4 |
Mirror the texture in the V coordinate.
|
| ClampV | 8 |
Clamp the texture in the V coordinate.
|
| BorderV | 12 |
Use a border color for addresses outside the range in the V coordinate.
|
| MirrorW | 16 |
Mirror the texture in the W coordinate.
|
| MirrorUVW | 21 |
Mirror the texture in the U,V, and W coordinates.
|
| ClampW | 32 |
Clamp the texture in the W coordinate.
|
| ClampUVW | 42 |
Clamp the texture in the U,V, and W coordinates.
|
| BorderW | 48 |
Use a border color for addresses outside the range in the W coordinate.
|
| BorderUVW | 63 |
Use a border color for addresses outside the range in the U,V, and W coordinates.
|
| MinFilterPoint | 64 |
Use point filtering for texture minification.
|
| MinFilterAnisotropic | 128 |
Use anisotropic filtering for texture minification.
|
| MagFilterPoint | 256 |
Use point filtering for texture magnification.
|
| MagFilterAnisotropic | 512 |
Use anisotropic filtering for texture magnification.
|
| MipFilterPoint | 1,024 |
Use point filtering for texture mipmaps.
|
| FilterPoint | 1,344 |
Use point filtering for minification, magnification, and texture mipmaps.
|
| CompareLess | 65,536 |
Use a "less than" operator when comparing textures.
|
| CompareLessEqual | 131,072 |
Use a "less than or equal" operator when comparing textures.
|
| CompareEqual | 196,608 |
Use an equality operator when comparing textures.
|
| CompareGreaterEqual | 262,144 |
Use a "greater than or equal" operator when comparing textures.
|
| CompareGreater | 327,680 |
Use a "greater than" operator when comparing textures.
|
| CompareNotEqual | 393,216 |
Use an inequality operator when comparing textures.
|
| CompareNever | 458,752 |
Never compare two textures as equal.
|
| CompareAlways | 524,288 |
Always compare two textures as equal.
|
| SampleStencil | 1,048,576 |
Sample stencil instead of depth.
|
| MSAASample | 34,359,738,368 |
Perform MSAA sampling on the texture.
|
| RenderTarget | 68,719,476,736 |
The texture will be used as a render target.
|
| RenderTargetMultisample2x | 137,438,953,472 |
The render target texture support 2x multisampling.
|
| RenderTargetMultisample4x | 206,158,430,208 |
The render target texture support 4x multisampling.
|
| RenderTargetMultisample8x | 274,877,906,944 |
The render target texture support 8x multisampling.
|
| RenderTargetMultisample16x | 343,597,383,680 |
The render target texture support 16x multisampling.
|
| RenderTargetWriteOnly | 549,755,813,888 |
The texture is only writeable (render target).
|
| ComputeWrite | 17,592,186,044,416 |
Texture is the target of compute shader writes.
|
| Srgb | 35,184,372,088,832 |
Texture data is in non-linear sRGB format.
|
| BlitDestination | 70,368,744,177,664 |
Texture can be used as the destination of a blit operation.
|
| ReadBack | 140,737,488,355,328 |
Texture data can be read back.
|
See Also