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
{{ message }}
This repository has been archived by the owner on Mar 30, 2019. It is now read-only.
But unless I'm missing something, I see no way of getting this status code in SharpDX (It's not an error, so SharpDX won't throw an exception for it), even though there's already an existing DXGIStatus enum.
What's the best API design for getting this status code? Just return it from Present? I can look into making the desired API change myself, once I know what that desired change is and that there's no existing way to get the status code.
The text was updated successfully, but these errors were encountered:
IDXGISwapChain::Present
can return the non-error status codeDXGI_STATUS_OCCLUDED
when the game window is not visible. (This is especially useful when paired withDXGI_PRESENT_TEST
.)But unless I'm missing something, I see no way of getting this status code in SharpDX (It's not an error, so SharpDX won't throw an exception for it), even though there's already an existing
DXGIStatus
enum.What's the best API design for getting this status code? Just return it from
Present
? I can look into making the desired API change myself, once I know what that desired change is and that there's no existing way to get the status code.The text was updated successfully, but these errors were encountered: