You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<trclass="memdesc:ad5ae5a5e42b878f2e18ab5d1fbfb9916"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Bit flags to be used with ALLOCATOR_DESC::Flags. <ahref="namespace_d3_d12_m_a.html#ad5ae5a5e42b878f2e18ab5d1fbfb9916">More...</a><br/></td></tr>
Copy file name to clipboardExpand all lines: docs/html/class_d3_d12_m_a_1_1_allocator.html
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -103,6 +103,8 @@
103
103
<trclass="memdesc:a08210561b92c4bd7ede9dd7beba4bb80"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns true if <spanclass="tt">D3D12_FEATURE_DATA_ARCHITECTURE1::CacheCoherentUMA</span> was found to be true. <br/></td></tr>
<trclass="memdesc:a3f3fd1e88cf2cd02257fe272e08a273c"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns true if GPU Upload Heaps are supported on the current system. <br/></td></tr>
<trclass="memdesc:a3f5aa191cebdca7c1932da4723cfc03e"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns true if resource tight alignment is supported on the current system. When supported, it is automatically used by the library, unless <aclass="el" href="namespace_d3_d12_m_a.html#ad5ae5a5e42b878f2e18ab5d1fbfb9916af13bc700d7b799c856c6516acac12fed">ALLOCATOR_FLAG_DONT_USE_TIGHT_ALIGNMENT</a> flag was specified on allocator creation. This flag is fetched from <spanclass="tt">D3D12_FEATURE_DATA_TIGHT_ALIGNMENT::SupportTier</span>. <br/></td></tr>
<trclass="memdesc:a434ae3147209953253da26687bfd62dc"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns total amount of memory of specific segment group, in bytes. <br/></td></tr>
<p>Returns true if resource tight alignment is supported on the current system. When supported, it is automatically used by the library, unless <aclass="el" href="namespace_d3_d12_m_a.html#ad5ae5a5e42b878f2e18ab5d1fbfb9916af13bc700d7b799c856c6516acac12fed">ALLOCATOR_FLAG_DONT_USE_TIGHT_ALIGNMENT</a> flag was specified on allocator creation. This flag is fetched from <spanclass="tt">D3D12_FEATURE_DATA_TIGHT_ALIGNMENT::SupportTier</span>. </p>
<divclass="ttc" id="a_d3_d12_mem_alloc_8h_html_accfbeae642feeacf353ce695e91a5e73"><divclass="ttname"><ahref="_d3_d12_mem_alloc_8h.html#accfbeae642feeacf353ce695e91a5e73">D3D12MA_RECOMMENDED_ALLOCATOR_FLAGS</a></div><divclass="ttdeci">#define D3D12MA_RECOMMENDED_ALLOCATOR_FLAGS</div><divclass="ttdoc">Set of flags recommended for use in D3D12MA::ALLOCATOR_DESC::Flags for optimal performance.</div><divclass="ttdef"><b>Definition</b> D3D12MemAlloc.h:128</div></div>
116
-
<divclass="ttc" id="aclass_d3_d12_m_a_1_1_allocator_html"><divclass="ttname"><ahref="class_d3_d12_m_a_1_1_allocator.html">D3D12MA::Allocator</a></div><divclass="ttdoc">Represents main object of this library initialized for particular ID3D12Device.</div><divclass="ttdef"><b>Definition</b> D3D12MemAlloc.h:1163</div></div>
116
+
<divclass="ttc" id="aclass_d3_d12_m_a_1_1_allocator_html"><divclass="ttname"><ahref="class_d3_d12_m_a_1_1_allocator.html">D3D12MA::Allocator</a></div><divclass="ttdoc">Represents main object of this library initialized for particular ID3D12Device.</div><divclass="ttdef"><b>Definition</b> D3D12MemAlloc.h:1174</div></div>
117
117
<divclass="ttc" id="anamespace_d3_d12_m_a_html_ab7a1cd1683986d75ce1488b0920f4cb0"><divclass="ttname"><ahref="namespace_d3_d12_m_a.html#ab7a1cd1683986d75ce1488b0920f4cb0">D3D12MA::CreateAllocator</a></div><divclass="ttdeci">D3D12MA_API HRESULT CreateAllocator(const ALLOCATOR_DESC *pDesc, Allocator **ppAllocator)</div><divclass="ttdoc">Creates new main D3D12MA::Allocator object and returns it through ppAllocator.</div></div>
118
-
<divclass="ttc" id="astruct_d3_d12_m_a_1_1_a_l_l_o_c_a_t_o_r___d_e_s_c_html"><divclass="ttname"><ahref="struct_d3_d12_m_a_1_1_a_l_l_o_c_a_t_o_r___d_e_s_c.html">D3D12MA::ALLOCATOR_DESC</a></div><divclass="ttdoc">Parameters of created Allocator object. To be used with CreateAllocator().</div><divclass="ttdef"><b>Definition</b> D3D12MemAlloc.h:1121</div></div>
<divclass="ttc" id="astruct_d3_d12_m_a_1_1_a_l_l_o_c_a_t_o_r___d_e_s_c_html_ad8abad7c80ea0d8df27c85243ce720f3"><divclass="ttname"><ahref="struct_d3_d12_m_a_1_1_a_l_l_o_c_a_t_o_r___d_e_s_c.html#ad8abad7c80ea0d8df27c85243ce720f3">D3D12MA::ALLOCATOR_DESC::Flags</a></div><divclass="ttdeci">ALLOCATOR_FLAGS Flags</div><divclass="ttdoc">Flags for the entire allocator.</div><divclass="ttdef"><b>Definition</b> D3D12MemAlloc.h:1126</div></div>
<divclass="ttc" id="astruct_d3_d12_m_a_1_1_a_l_l_o_c_a_t_o_r___d_e_s_c_html"><divclass="ttname"><ahref="struct_d3_d12_m_a_1_1_a_l_l_o_c_a_t_o_r___d_e_s_c.html">D3D12MA::ALLOCATOR_DESC</a></div><divclass="ttdoc">Parameters of created Allocator object. To be used with CreateAllocator().</div><divclass="ttdef"><b>Definition</b> D3D12MemAlloc.h:1132</div></div>
<divclass="ttc" id="astruct_d3_d12_m_a_1_1_a_l_l_o_c_a_t_o_r___d_e_s_c_html_ad8abad7c80ea0d8df27c85243ce720f3"><divclass="ttname"><ahref="struct_d3_d12_m_a_1_1_a_l_l_o_c_a_t_o_r___d_e_s_c.html#ad8abad7c80ea0d8df27c85243ce720f3">D3D12MA::ALLOCATOR_DESC::Flags</a></div><divclass="ttdeci">ALLOCATOR_FLAGS Flags</div><divclass="ttdoc">Flags for the entire allocator.</div><divclass="ttdef"><b>Definition</b> D3D12MemAlloc.h:1137</div></div>
</div><!-- fragment --><h1class="doxsection"><aclass="anchor" id="debug_margins"></a>
124
124
Debug margins</h1>
125
125
<p>By default, allocations are laid out in memory blocks next to each other if possible (considering required alignment returned by <spanclass="tt">ID3D12Device::GetResourceAllocationInfo</span>).</p>
0 commit comments