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.

ID3D11Device3::GetImmediateContext3 method

Gets an immediate context, which can play back command lists.

Syntax


void GetImmediateContext3(
  [out] ID3D11DeviceContext3 **ppImmediateContext
);

Parameters

ppImmediateContext [out]

Type: ID3D11DeviceContext3**

Upon completion of the method, the passed pointer to an ID3D11DeviceContext3 interface pointer is initialized.

Return value

This method does not return a value.

Remarks

The GetImmediateContext3 method outputs an ID3D11DeviceContext3 object that represents an immediate context, which is used to perform rendering that you want immediately submitted to a device. For most apps, an immediate context is the primary object that is used to draw your scene.

The GetImmediateContext3 method increments the reference count of the immediate context by one. Therefore, you must call Release on the returned interface pointer when you are done with it to avoid a memory leak.

Requirements

Header

D3d11_3.h

Library

D3D11.lib

See also

ID3D11Device3
ID3D11Device::GetImmediateContext
ID3D11Device1::GetImmediateContext1
ID3D11Device2::GetImmediateContext2

 

 

Show:
© 2017 Microsoft