ID3D11Multithread::Enter method (d3d11_4.h)
Enter a device's critical section.
Syntax
void Enter();
Return value
None
Remarks
If SetMultithreadProtected is set to true, then entering a device's critical section prevents other threads from simultaneously calling that device's methods, calling DXGI methods, and calling the methods of all resource, view, shader, state, and asynchronous interfaces.
This function should be used in multithreaded applications when there is a series of graphics commands that must happen in order. This function is typically called at the beginning of the series of graphics commands, and Leave is typically called after those graphics commands.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d11_4.h |
Library | D3d11_4.lib |
DLL | D3d11_4.dll |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for