Skip to content

Commit

Permalink
Merged PR 15945: D3D12 render passes: Add note around structure memor…
Browse files Browse the repository at this point in the history
…y lifetime
  • Loading branch information
jenatali authored and Steven White committed Nov 6, 2019
1 parent d147f24 commit 8db8988
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ A <b>UINT</b>. The number of subresources.

A pointer to a constant array of <a href="https://docs.microsoft.com/en-us/windows/desktop/api/d3d12/ns-d3d12-d3d12_render_pass_ending_access_resolve_subresource_parameters">D3D12_RENDER_PASS_ENDING_ACCESS_RESOLVE_SUBRESOURCE_PARAMETERS</a>. These subresources can be a subset of the render target's array slices, but you can't target subresources that aren't part of the render target view (RTV) or the depth/stencil view (DSV).

> [!NOTE]
> This pointer is directly referenced by the command list, and the memory for this array must remain alive and intact until [EndRenderPass](nf-d3d12-id3d12graphicscommandlist4-endrenderpass.md) is called.

### -field Format

Expand Down

0 comments on commit 8db8988

Please sign in to comment.