![]() |
XII Release 0.1.0
|
This describes the miscellaneous texture flags. More...
#include <Texture.h>
Classes | |
struct | Bits |
Public Types | |
enum | Enum : StorageType { None = 0U , GenerateMips = XII_BIT(0) , Memoryless = XII_BIT(1) , SparseAlias = XII_BIT(2) , Subsampled = XII_BIT(3) , Default = None } |
using | StorageType = xiiUInt8 |
This describes the miscellaneous texture flags.
enum xiiGALMiscTextureFlags::Enum : StorageType |
Enumerator | |
---|---|
None | No miscellaneous texture flags. |
GenerateMips | Allow automatic mipmap generation. \note The texture must be created with the xiiGALBindFlags::RenderTarget bind flag. |
Memoryless | The texture will be used as a transient framebuffer attachment. \note Memoryless textures may only be used within a render pass in a framebuffer; the corresponding sub pass load operation must be Clear or Discard, and the sub pass store operation must be Discard. |
SparseAlias | For sparse textures, allow binding the same memory range in different texture regions or in different sparse textures. |
Subsampled | The texture will be used as an intermediate render target for rendering with texture-based variable rate shading. This requires the xiiGALShadingRateCapabilityFlags::SubSampledRenderTarget capability. \note Copy operations are not supported for subsampled textures. |