Click or drag to resize

TextureFlags Enumeration

Specifies various texture flags.

Namespace:  Internal.SharpBgfx
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.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.
ClampW32 Clamp the texture in the W coordinate.
BorderW48 Use a border color for addresses outside the range in the W coordinate.
MirrorUVW21 Mirror the texture in the U,V, and W coordinates.
ClampUVW42 Clamp the texture in the U,V, and W coordinates.
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.
MipFilterPoint1024 Use point filtering for texture mipmaps.
FilterPoint1344 Use point filtering for minification, magnification, and texture mipmaps.
CompareLess65536 Use a "less than" operator when comparing textures.
CompareLessEqual131072 Use a "less than or equal" operator when comparing textures.
CompareEqual196608 Use an equality operator when comparing textures.
CompareGreaterEqual262144 Use a "greater than or equal" operator when comparing textures.
CompareGreater327680 Use a "greater than" operator when comparing textures.
CompareNotEqual393216 Use an inequality operator when comparing textures.
CompareNever458752 Never compare two textures as equal.
CompareAlways524288 Always compare two textures as equal.
SampleStencil1048576 Sample stencil instead of depth.
MSAASample34359738368 Perform MSAA sampling on the texture.
RenderTarget68719476736 The texture will be used as a render target.
RenderTargetMultisample2x137438953472 The render target texture support 2x multisampling.
RenderTargetMultisample4x206158430208 The render target texture support 4x multisampling.
RenderTargetMultisample8x274877906944 The render target texture support 8x multisampling.
RenderTargetMultisample16x343597383680 The render target texture support 16x multisampling.
RenderTargetWriteOnly549755813888 The texture is only writeable (render target).
ComputeWrite17592186044416 Texture is the target of compute shader writes.
Srgb35184372088832 Texture data is in non-linear sRGB format.
BlitDestination70368744177664 Texture can be used as the destination of a blit operation.
ReadBack140737488355328 Texture data can be read back.
See Also