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

Dynamic texture atlas usage stats. More...

#include <DynamicTextureAtlas.h>

Public Attributes

Uint64 CommittedSize = 0
 The total committed memory size of the atlas, in bytes.
 
Uint32 AllocationCount = 0
 The total number of allocations in the atlas.
 
Uint64 TotalArea = 0
 
Uint64 AllocatedArea = 0
 
Uint64 UsedArea = 0
 

Detailed Description

Dynamic texture atlas usage stats.

Member Data Documentation

◆ AllocatedArea

Uint64 Diligent::DynamicTextureAtlasUsageStats::AllocatedArea = 0

The total allocated area, e.g. the total number of texels in all allocations.

◆ TotalArea

Uint64 Diligent::DynamicTextureAtlasUsageStats::TotalArea = 0

The total area of the texture atlas, e.g. the total number of texels in all slices.

◆ UsedArea

Uint64 Diligent::DynamicTextureAtlasUsageStats::UsedArea = 0

The total used area, e.g. the total number of texels actually used by all allocations. Used area is always equal to or larger than the allocated area due to alignment requirements.