IDirect3DSwapChain9Ex interface

Applications use the methods of the IDirect3DSwapChain9Ex interface to manipulate a swap chain.

Members

The IDirect3DSwapChain9Ex interface inherits from IDirect3DSwapChain9. IDirect3DSwapChain9Ex also has these types of members:

Methods

The IDirect3DSwapChain9Ex interface has these methods.

MethodDescription
GetDisplayModeEx

Retrieves the display mode's spatial resolution, color resolution, refresh frequency, and rotation settings.

GetLastPresentCount

Returns the number of times the swapchain has been processed.

GetPresentStatistics

Gets presentation statistics so an application can identify frames that do not have a Present method call.

 

Remarks

There is always at least one swap chain for each device, known as the implicit swap chain. However, an additional swap chain for rendering multiple views from the same device can be created by calling the CreateAdditionalSwapChain method.

This interface, like all COM interfaces, inherits from the IUnknown interface.

The LPDIRECT3DSWAPCHAIN9 and PDIRECT3DSWAPCHAIN9 types are defined as pointers to the IDirect3DSwapChain9 interface.

IDirect3DSwapChain9Ex objects are returned as a pointer to an IDirect3DSwapChain9 object when GetSwapChain is called on an instance of IDirect3DDevice9Ex. The IDirect3DSwapChain9Ex interface is obtained by calling QueryInterface on the instance of IDirect3DSwapChain9 that was returned by GetSwapChain.

Requirements

Header

D3d9.h

Library

D3D9.lib

See also

IDirect3DSwapChain9
Direct3D Interfaces
Feature Summary (Direct3D 9 for Windows Vista)

 

 

Show: