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 |
| Uint32 | PageSize = 4 * 1024 * 1024 |
| Size of the upload page. | |
| Uint32 | LargePageSize = 16 * 1024 * 1024 |
| Size of the large upload page. | |
| Uint32 | InitialPageCount = 4 |
| Uint32 | InitialLargePageCount = 1 |
| Initial number of large upload pages. | |
| Uint32 | MaxPageCount = 64 |
| Uint32 | MaxLargePageCount = 16 |
Create info structure for GPU upload manager.
| Uint32 Diligent::GPUUploadManagerCreateInfo::InitialPageCount = 4 |
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::MaxLargePageCount = 16 |
Maximum number of large pages that the manager should maintain. If 0, there is no limit to the number of large pages that can be created.
| Uint32 Diligent::GPUUploadManagerCreateInfo::MaxPageCount = 64 |
Maximum number of pages that the manager should maintain. If 0, there is no limit to the number of pages that can be created.
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.
| IDeviceContext* Diligent::GPUUploadManagerCreateInfo::pContext = nullptr |
Pointer to the device context. If null, initial pages will be created, but they will not become available until the first call to RenderThreadUpdate() with a valid device context pointer.