Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID3D11Multithread::Enter method

Enter a device's critical section.

Syntax


void Enter();

Parameters

This method has no parameters.

Return value

This method does not return a value.

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

Header

D3d11_4.h

Library

D3d11_4.lib

DLL

D3d11_4.dll

See also

ID3D11Multithread

 

 

Show:
© 2017 Microsoft