Diligent::BufferSuballocatorCreateInfo struct

Buffer suballocator create information.

Contents

Public variables

BufferDesc Desc
Buffer description.
Uint32 ExpansionSize
Buffer expansion size, in bytes.
Uint32 SuballocationObjAllocationGranularity
Allocation granularity for IBufferSuballocator objects.

Variable documentation

Uint32 Diligent::BufferSuballocatorCreateInfo::ExpansionSize

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.

Uint32 Diligent::BufferSuballocatorCreateInfo::SuballocationObjAllocationGranularity

Allocation granularity for IBufferSuballocator objects.

Buffer suballocator uses FixedBlockMemoryAllocator to allocate instances of IBufferSuballocation implementation class. This memeber defines the number of objects in one page.