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

GPU upload manager statistics. More...

#include <GPUUploadManager.h>

Public Attributes

Uint32 NumPages = 0
 The number of pages in the manager.
 
Uint32 NumFreePages = 0
 The number of free pages that are ready to be written to.
 
Uint32 NumInFlightPages = 0
 The number of pages that are currently being used by the GPU for copy operations.
 
Uint32 PeakNumPages = 0
 
Uint32 PeakTotalPendingUpdateSize = 0
 
Uint32 PeakUpdateSize = 0
 Peak size of a single update in bytes.
 
Uint32 NumBuckets = 0
 The number of buckets in the manager. Each bucket corresponds to a specific page size.
 
const GPUUploadManagerBucketInfopBucketInfo = nullptr
 

Detailed Description

GPU upload manager statistics.

Member Data Documentation

◆ pBucketInfo

const GPUUploadManagerBucketInfo* Diligent::GPUUploadManagerStats::pBucketInfo = nullptr

Information about each bucket. The array contains NumBuckets valid entries. The pointer is valid only until the next call to RenderThreadUpdate() or ScheduleBufferUpdate() with a non-null device context, which may change the number of buckets.

◆ PeakNumPages

Uint32 Diligent::GPUUploadManagerStats::PeakNumPages = 0

The peak number of pages that were created by the manager. This value can exceed the maximum page count, but only temporarily when the manager needs to create new pages to accommodate large updates.

◆ PeakTotalPendingUpdateSize

Uint32 Diligent::GPUUploadManagerStats::PeakTotalPendingUpdateSize = 0

The peak pending update size in bytes. This is the maximum total size of all pending buffer updates that could not be enqueued immediately due to lack of free pages.