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
…Optional`
In microsoft#1453 `ClearRenderTargetView()`'s `pRect` slice was requested to
be marked as optional, but its `ClearDepthStencilView()` sibling was
completely glossed over. Mark it `Optional` as well as a `NULL` pointer
is expected to clear the entire resource view. A non-`NULL` pointer
with a length of `0` might not clear anything at all.
…Optional` (#1971)
In #1453 `ClearRenderTargetView()`'s `pRect` slice was requested to
be marked as optional, but its `ClearDepthStencilView()` sibling was
completely glossed over. Mark it `Optional` as well as a `NULL` pointer
is expected to clear the entire resource view. A non-`NULL` pointer
with a length of `0` might not clear anything at all.
https://learn.microsoft.com/en-us/windows/win32/api/d3d12/nf-d3d12-id3d12graphicscommandlist-clearrendertargetview
pRects
is not indicated as optionalHowever in the documentation
Because it isn't marked optional, it is impossible to pass in
None
in windows-rs so theNULL
behaviour is not obtainable.The text was updated successfully, but these errors were encountered: