Describes the sparse texture properties. More...
#include <Texture.h>
Public Attributes | |
Uint64 | AddressSpaceSize = 0 |
The size of the texture's virtual address space. | |
Uint64 | MipTailOffset = 0 |
Uint64 | MipTailStride = 0 |
Uint64 | MipTailSize = 0 |
Specifies the mip tail size in bytes. | |
Uint32 | FirstMipInTail = ~0u |
Uint32 | TileSize [3] = {} |
Specifies the dimension of a tile packed into a single memory block. | |
Uint32 | BlockSize = 0 |
Size of the sparse memory block, in bytes. | |
SPARSE_TEXTURE_FLAGS | Flags = SPARSE_TEXTURE_FLAG_NONE |
Flags that describe additional packing modes. | |
Describes the sparse texture properties.
Uint32 Diligent::SparseTextureProperties::BlockSize = 0 |
Size of the sparse memory block, in bytes.
The offset in the packed mip tail, memory offset and memory size that are used in sparse memory binding command must be multiples of the block size.
If the Diligent::SPARSE_TEXTURE_FLAG_NONSTANDARD_BLOCK_SIZE flag is not set in the Flags
member, the block size is equal to SparseResourceProperties::StandardBlockSize.
Uint32 Diligent::SparseTextureProperties::FirstMipInTail = ~0u |
The first mip level in the mip tail that is packed as a whole into one or multiple memory blocks.
Uint64 Diligent::SparseTextureProperties::MipTailOffset = 0 |
Specifies where to bind the mip tail memory. Reserved for internal use.
Uint64 Diligent::SparseTextureProperties::MipTailSize = 0 |
Specifies the mip tail size in bytes.
Uint64 Diligent::SparseTextureProperties::MipTailStride = 0 |
Specifies how to calculate the mip tail offset for 2D array texture. Reserved for internal use.