Buffer suballocator create information. More...
#include <BufferSuballocator.h>
Public Attributes | |
BufferDesc | Desc |
Buffer description. | |
Uint32 | ExpansionSize = 0 |
Buffer expansion size, in bytes. | |
Uint64 | MaxSize = 0 |
The maximum buffer size, in bytes. | |
bool | DisableDebugValidation = false |
Whether to disable debug validation of the internal buffer structure. | |
Buffer suballocator create information.
bool Diligent::BufferSuballocatorCreateInfo::DisableDebugValidation = false |
Whether to disable debug validation of the internal buffer structure.
By default, internal buffer structure is validated in debug mode after each allocation and deallocation. This may be expensive when the buffer contains many allocations. When this flag is set to true, the validation is disabled. The flag is ignored in release builds as the validation is always disabled.
Uint32 Diligent::BufferSuballocatorCreateInfo::ExpansionSize = 0 |
Buffer expansion size, in bytes.
When non-zero, the buffer will be expanded by the specified amount every time there is insufficient space. If zero, the buffer size will be doubled when more space is needed.
Uint64 Diligent::BufferSuballocatorCreateInfo::MaxSize = 0 |
The maximum buffer size, in bytes.
If Desc.Usage == USAGE_SPARSE
, also the buffer virtual size.