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
- Fixes and improvements in the internal function `AllocatorPimpl::GetResourceAllocationInfo` (which decides when to use small alignment or tight alignment), including:
7
+
- Added support for 1D and 3D textures when `D3D12MA_USE_SMALL_RESOURCE_PLACEMENT_ALIGNMENT = 2` (#78, #79).
8
+
- Fix for cases when `D3D12_TEXTURE_LAYOUT_64KB_*_SWIZZLE` is used (#86).
9
+
- Fixes for build errors in MinGW (#77).
10
+
- Fixes and improvements in documentation and tests.
<trclass="memdesc:a47be9557d441797b65de177a3d5cdf60"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns offset in bytes from the start of memory heap. <br/></td></tr>
<trclass="memdesc:a0acdc6b31e957b6d83762bdaace6d255"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns alignment that resource was created with. <br/></td></tr>
<trclass="memdesc:a92c2fb6f22b28817eb83a59407d7dd30"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns size in bytes of the allocation. <br/></td></tr>
<trclass="memdesc:ad00308118252f82d8f803c623c67bf18"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns D3D12 resource associated with this object. <br/></td></tr>
<trclass="memdesc:a414a088c22bae0f29b1038f5f9346d14"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Releases the resource currently pointed by the allocation (if not null), sets it to new one, incrementing its reference counter (if not null). <br/></td></tr>
<trclass="memdesc:adca8d5a82bed492fe7265fcda6e53da2"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns memory heap that the resource is created in. <br/></td></tr>
<trclass="memdesc:a6f209094455dd876b6d9f84076ee1436"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Changes custom pointer for an allocation to a new value. <br/></td></tr>
<trclass="memdesc:ae45eed901de5d16afe179f883028c5ee"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Get custom pointer associated with the allocation. <br/></td></tr>
<trclass="memdesc:af9e643276b577aa7f21937f75d4b82ac"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Associates a name with the allocation object. This name is for use in debug diagnostics and tools. <br/></td></tr>
<trclass="memdesc:a65fab0c479df1b6b72c9300e68dc6770"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the name associated with the allocation object. <br/></td></tr>
<p>Releases the resource currently pointed by the allocation (if not null), sets it to new one, incrementing its reference counter (if not null). </p>
374
-
<dlclass="section warning"><dt>Warning</dt><dd>This is an advanced feature that should be used only in special cases, e.g. during <aclass="el" href="defragmentation.html">Defragmentation</a>. Typically, an allocation object should reference the resource that was created together with it. If you swap it to another resource of different size, <aclass="el" href="statistics.html">Statistics</a> and budgets can be calculated incorrectly. </dd></dl>
374
+
<dlclass="section warning"><dt>Warning</dt><dd>This is an advanced feature that should be used only in special cases, e.g. during <aclass="el" href="defragmentation.html"title="Defragmentation">Defragmentation</a>. Typically, an allocation object should reference the resource that was created together with it. If you swap it to another resource of different size, <aclass="el" href="statistics.html" title="Statistics">Statistics</a> and budgets can be calculated incorrectly. </dd></dl>
0 commit comments