Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::SparseTextureFormatInfo Struct Reference

This structure is returned by IRenderDevice::GetSparseTextureFormatInfo() More...

#include <GraphicsTypes.h>

Public Attributes

BIND_FLAGS BindFlags = BIND_NONE
 Allowed bind flags for this format.
 
Uint32 TileSize [3] = {}
 The dimensions of the sparse texture tile.
 
SPARSE_TEXTURE_FLAGS Flags = SPARSE_TEXTURE_FLAG_NONE
 Sparse texture flags, see Diligent::SPARSE_TEXTURE_FLAGS.
 

Detailed Description

This structure is returned by IRenderDevice::GetSparseTextureFormatInfo()

Member Data Documentation

◆ TileSize

Uint32 Diligent::SparseTextureFormatInfo::TileSize[3] = {}

The dimensions of the sparse texture tile.

When SPARSE_TEXTURE_FLAG_NONSTANDARD_BLOCK_SIZE flag is not set, the tile dimensions match the standard tile dimensions, see SPARSE_RESOURCE_CAP_FLAG_STANDARD_2D_TILE_SHAPE, SPARSE_RESOURCE_CAP_FLAG_STANDARD_2DMS_TILE_SHAPE, SPARSE_RESOURCE_CAP_FLAG_STANDARD_3D_TILE_SHAPE.