Dynamic buffer create information. More...
#include <DynamicBuffer.hpp>
Public Attributes | |
BufferDesc | Desc |
Buffer description. | |
Uint32 | MemoryPageSize = 64 << 10 |
The size of the memory page for the sparse buffer. | |
Uint64 | VirtualSize = Uint64{1} << Uint64{30} |
Dynamic buffer create information.
Uint32 Diligent::DynamicBufferCreateInfo::MemoryPageSize = 64 << 10 |
The size of the memory page for the sparse buffer.
This value is only relevant when Desc.Usage == USAGE_SPARSE
and defines the memory page size of the device memory object that is backing the buffer.
Memory page size should be a multiple of SparseResources.StandardBlockSize. If it is not, the engine automatically aligns the value up to the closest multiple of the block size.