Sparse memory capability flags.
More...
#include <GraphicsTypes.h>
|
enum | Enum : StorageType {
None = 0U
, ShaderResourceResidency = XII_BIT(0)
, Buffer = XII_BIT(1)
, Texture2D = XII_BIT(2)
,
Texture3D = XII_BIT(3)
, Texture2Samples = XII_BIT(4)
, Texture4Samples = XII_BIT(5)
, Texture8Samples = XII_BIT(6)
,
Texture16Samples = XII_BIT(7)
, Aliased = XII_BIT(8)
, Standard2DTileShape = XII_BIT(9)
, Standard2DMSTileShape = XII_BIT(10)
,
Standard3DTileShape = XII_BIT(11)
, AlignedMipSize = XII_BIT(12)
, NonResidentStrict = XII_BIT(13)
, Texture2DArrayMipTail = XII_BIT(14)
,
BufferStandardBlock = XII_BIT(15)
, NonResidentSafe = XII_BIT(16)
, MixedResourceTypeSupport = XII_BIT(17)
, Default = None
} |
|
using | StorageType = xiiUInt32 |
|
Sparse memory capability flags.
◆ Enum
Enumerator |
---|
None | No sparse resource capabilities.
|
ShaderResourceResidency | Specifies whether texture operations that return resource residency information are supported in shader code.
|
Buffer | Specifies whether the device supports sparse buffers.
|
Texture2D | Specifies whether the device supports sparse 2D textures with 1 sample per pixel.
|
Texture3D | Specifies whether the device supports sparse 3D textures.
|
Texture2Samples | Specifies whether the device supports sparse 2D textures with 2 samples per pixel.
|
Texture4Samples | Specifies whether the device supports sparse 2D textures with 4 samples per pixel.
|
Texture8Samples | Specifies whether the device supports sparse 2D textures with 8 samples per pixel.
|
Texture16Samples | Specifies whether the device supports sparse 2D textures with 16 samples per pixel.
|
Aliased | Specifies whether the device can correctly access memory aliased into multiple locations, and reading physical memory from multiple aliased locations will return the same value.
|
Standard2DTileShape | Specifies whether the device accesses single-sample 2D sparse textures using the standard sparse texture tile shapes.
|
Standard2DMSTileShape | Specifies whether the device accesses multi-sample 2D sparse textures using the standard sparse texture tile shapes.
|
Standard3DTileShape | Specifies whether the device accesses 3D sparse textures using the standard sparse texture tile shapes.
|
AlignedMipSize | Specifies if textures with mip level dimensions that are not integer multiples of the corresponding dimensions of the sparse texture tile may be placed in the mip tail.
|
NonResidentStrict | Specifies whether the device can consistently access non-resident (without bound memory) regions of a resource.
|
Texture2DArrayMipTail | Specifies whether the device supports sparse texture arrays with mip levels whose dimensions are less than the tile size.
|
BufferStandardBlock | Indicates that sparse buffers use the standard block, see SparseResourceProperties::StandardBlockSize.
|
NonResidentSafe | Reads or writes from unbound memory must not cause device removal.
|
MixedResourceTypeSupport | Indicates that single device memory object can be used to bind memory for different resource types.
|
The documentation for this struct was generated from the following file:
- /home/runner/work/XII/XII/Source/Engine/GraphicsFoundation/Declarations/GraphicsTypes.h