Click or drag to resize

TextureFlags Enumeration

Specifies various texture flags.

Namespace: Internal.SharpBgfx
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
[FlagsAttribute]
public enum TextureFlags
Members
Member nameValueDescription
None0 No flags set.
MirrorU1 Mirror the texture in the U coordinate.
ClampU2 Clamp the texture in the U coordinate.
BorderU3 Use a border color for addresses outside the range in the U coordinate.
MirrorV4 Mirror the texture in the V coordinate.
ClampV8 Clamp the texture in the V coordinate.
BorderV12 Use a border color for addresses outside the range in the V coordinate.
MirrorW16 Mirror the texture in the W coordinate.
MirrorUVW21 Mirror the texture in the U,V, and W coordinates.
ClampW32 Clamp the texture in the W coordinate.
ClampUVW42 Clamp the texture in the U,V, and W coordinates.
BorderW48 Use a border color for addresses outside the range in the W coordinate.
BorderUVW63 Use a border color for addresses outside the range in the U,V, and W coordinates.
MinFilterPoint64 Use point filtering for texture minification.
MinFilterAnisotropic128 Use anisotropic filtering for texture minification.
MagFilterPoint256 Use point filtering for texture magnification.
MagFilterAnisotropic512 Use anisotropic filtering for texture magnification.
MipFilterPoint1,024 Use point filtering for texture mipmaps.
FilterPoint1,344 Use point filtering for minification, magnification, and texture mipmaps.
CompareLess65,536 Use a "less than" operator when comparing textures.
CompareLessEqual131,072 Use a "less than or equal" operator when comparing textures.
CompareEqual196,608 Use an equality operator when comparing textures.
CompareGreaterEqual262,144 Use a "greater than or equal" operator when comparing textures.
CompareGreater327,680 Use a "greater than" operator when comparing textures.
CompareNotEqual393,216 Use an inequality operator when comparing textures.
CompareNever458,752 Never compare two textures as equal.
CompareAlways524,288 Always compare two textures as equal.
SampleStencil1,048,576 Sample stencil instead of depth.
MSAASample34,359,738,368 Perform MSAA sampling on the texture.
RenderTarget68,719,476,736 The texture will be used as a render target.
RenderTargetMultisample2x137,438,953,472 The render target texture support 2x multisampling.
RenderTargetMultisample4x206,158,430,208 The render target texture support 4x multisampling.
RenderTargetMultisample8x274,877,906,944 The render target texture support 8x multisampling.
RenderTargetMultisample16x343,597,383,680 The render target texture support 16x multisampling.
RenderTargetWriteOnly549,755,813,888 The texture is only writeable (render target).
ComputeWrite17,592,186,044,416 Texture is the target of compute shader writes.
Srgb35,184,372,088,832 Texture data is in non-linear sRGB format.
BlitDestination70,368,744,177,664 Texture can be used as the destination of a blit operation.
ReadBack140,737,488,355,328 Texture data can be read back.
See Also