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

GPU upload manager stream statistics. More...

#include <GPUUploadManager.h>

Public Attributes

TEXTURE_FORMAT Format = TEX_FORMAT_UNKNOWN
 For Direct3D11 only: texture format for texture upload stream.
 
Uint32 PageSize = 0
 
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 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 stream statistics.

Member Data Documentation

◆ PageSize

Uint32 Diligent::GPUUploadManagerStreamStats::PageSize = 0

Page size in bytes for this stream. If Format is not TEX_FORMAT_UNKNOWN, this is the upload texture size (width and height). Otherwise, this is the size of the upload page in bytes.

◆ pBucketInfo

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

Information about each bucket. The array contains NumBuckets valid entries. The pointer is valid only until the next call to GetStats().

◆ PeakNumPages

Uint32 Diligent::GPUUploadManagerStreamStats::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::GPUUploadManagerStreamStats::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.