Specifies various texture flags.
Namespace:
Internal.SharpBgfx
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.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.
|
| ClampW | 32 |
Clamp the texture in the W coordinate.
|
| BorderW | 48 |
Use a border color for addresses outside the range in the W coordinate.
|
| MirrorUVW | 21 |
Mirror the texture in the U,V, and W coordinates.
|
| ClampUVW | 42 |
Clamp the texture in the U,V, and W coordinates.
|
| 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 | 1024 |
Use point filtering for texture mipmaps.
|
| FilterPoint | 1344 |
Use point filtering for minification, magnification, and texture mipmaps.
|
| CompareLess | 65536 |
Use a "less than" operator when comparing textures.
|
| CompareLessEqual | 131072 |
Use a "less than or equal" operator when comparing textures.
|
| CompareEqual | 196608 |
Use an equality operator when comparing textures.
|
| CompareGreaterEqual | 262144 |
Use a "greater than or equal" operator when comparing textures.
|
| CompareGreater | 327680 |
Use a "greater than" operator when comparing textures.
|
| CompareNotEqual | 393216 |
Use an inequality operator when comparing textures.
|
| CompareNever | 458752 |
Never compare two textures as equal.
|
| CompareAlways | 524288 |
Always compare two textures as equal.
|
| SampleStencil | 1048576 |
Sample stencil instead of depth.
|
| MSAASample | 34359738368 |
Perform MSAA sampling on the texture.
|
| RenderTarget | 68719476736 |
The texture will be used as a render target.
|
| RenderTargetMultisample2x | 137438953472 |
The render target texture support 2x multisampling.
|
| RenderTargetMultisample4x | 206158430208 |
The render target texture support 4x multisampling.
|
| RenderTargetMultisample8x | 274877906944 |
The render target texture support 8x multisampling.
|
| RenderTargetMultisample16x | 343597383680 |
The render target texture support 16x multisampling.
|
| RenderTargetWriteOnly | 549755813888 |
The texture is only writeable (render target).
|
| ComputeWrite | 17592186044416 |
Texture is the target of compute shader writes.
|
| Srgb | 35184372088832 |
Texture data is in non-linear sRGB format.
|
| BlitDestination | 70368744177664 |
Texture can be used as the destination of a blit operation.
|
| ReadBack | 140737488355328 |
Texture data can be read back.
|
See Also