We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ca443a commit ae78428Copy full SHA for ae78428
1 file changed
include/D3D12MemAlloc.h
@@ -2435,8 +2435,10 @@ You can check if the tight alignment it is available in the current system by ca
2435
You can tell the library to not use it by specifying D3D12MA::ALLOCATOR_FLAG_DONT_USE_TIGHT_ALIGNMENT.
2436
Typically, you don't need to do any of those.
2437
2438
+\par Implementation detail
2439
The library automatically aligns all buffers to at least 256 B, even when the system supports smaller alignment.
2440
This is the alignment required for constant buffers, expressed by `D3D12_CONSTANT_BUFFER_DATA_PLACEMENT_ALIGNMENT` constant.
2441
+It is also enough to be aligned to cache line size of conteporary GPUs, which may have positive impact on the performance.
2442
2443
\page defragmentation Defragmentation
2444
0 commit comments