Create info structure for GPU upload manager. More...
#include <GPUUploadManager.h>
Public Attributes | |
| IRenderDevice * | pDevice = nullptr |
| Pointer to the render device. Must not be null. | |
| IDeviceContext * | pContext = 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 |
Create info structure for GPU upload manager.
| 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.
| 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.