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

Create info structure for GPU upload manager. More...

#include <GPUUploadManager.h>

Public Attributes

IRenderDevicepDevice = nullptr
 Pointer to the render device. Must not be null.
 
IDeviceContextpContext = nullptr
 Pointer to the device context. Must not be null.
 
Uint32 PageSize = 4 * 1024 * 1024
 Size of the staging buffer page.
 
Uint32 InitialPageCount = 1
 
Uint32 MaxPageCount = 64
 

Detailed Description

Create info structure for GPU upload manager.

Member Data Documentation

◆ InitialPageCount

Uint32 Diligent::GPUUploadManagerCreateInfo::InitialPageCount = 1

Initial number of upload pages. If the manager runs out of pages to write to, it will create new ones as needed. This parameter controls how many pages are created at startup.

◆ MaxPageCount

Uint32 Diligent::GPUUploadManagerCreateInfo::MaxPageCount = 64

Maximum number of pages that the manager should maintain.

Note the manager may temporarily exceed this limit in certain scenarios (for example, if large update is scheduled while the maximum is already reached), but it will reduce the number of pages to the maximum as soon as possible.