Skip to content

Commit 99f2d35

Browse files
Minor update in documentation.
1 parent 7f97202 commit 99f2d35

File tree

3 files changed

+57
-53
lines changed

3 files changed

+57
-53
lines changed

docs/html/vk__mem__alloc_8h.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,8 @@ <h2 class="memtitle"><span class="permalink"><a href="#ad9889c10c798b040d59c92f2
825825
</td></tr>
826826
<tr><td class="fieldname"><a id="ad9889c10c798b040d59c92f257cae597ad242a04f802e25fef0b880afe8bb0a62"></a>VMA_ALLOCATION_CREATE_STRATEGY_WORST_FIT_BIT&#160;</td><td class="fielddoc"><p>Allocation strategy that chooses biggest possible free range for the allocation. </p>
827827
</td></tr>
828-
<tr><td class="fieldname"><a id="ad9889c10c798b040d59c92f257cae597a33eb2052674f3ad92386c714a65fb777"></a>VMA_ALLOCATION_CREATE_STRATEGY_FIRST_FIT_BIT&#160;</td><td class="fielddoc"><p>Allocation strategy that chooses first suitable free range for the allocation. </p>
828+
<tr><td class="fieldname"><a id="ad9889c10c798b040d59c92f257cae597a33eb2052674f3ad92386c714a65fb777"></a>VMA_ALLOCATION_CREATE_STRATEGY_FIRST_FIT_BIT&#160;</td><td class="fielddoc"><p>Allocation strategy that chooses first suitable free range for the allocation.</p>
829+
<p>"First" doesn't necessarily means the one with smallest offset in memory, but rather the one that is easiest and fastest to find. </p>
829830
</td></tr>
830831
<tr><td class="fieldname"><a id="ad9889c10c798b040d59c92f257cae597a8af1210cf591784afa026d94998f735d"></a>VMA_ALLOCATION_CREATE_STRATEGY_MIN_MEMORY_BIT&#160;</td><td class="fielddoc"><p>Allocation strategy that tries to minimize memory usage. </p>
831832
</td></tr>

docs/html/vk__mem__alloc_8h_source.html

Lines changed: 52 additions & 52 deletions
Large diffs are not rendered by default.

src/vk_mem_alloc.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1951,6 +1951,9 @@ typedef enum VmaAllocationCreateFlagBits {
19511951
VMA_ALLOCATION_CREATE_STRATEGY_WORST_FIT_BIT = 0x00020000,
19521952
/** Allocation strategy that chooses first suitable free range for the
19531953
allocation.
1954+
1955+
"First" doesn't necessarily means the one with smallest offset in memory,
1956+
but rather the one that is easiest and fastest to find.
19541957
*/
19551958
VMA_ALLOCATION_CREATE_STRATEGY_FIRST_FIT_BIT = 0x00040000,
19561959

0 commit comments

Comments
 (0)