IDirect3DDevice

Applications use the methods of the IDirect3DDevice interface to retrieve and set the capabilities of Direct3D devices. This section is a reference to the methods of this interface. For a conceptual overview, see IDirect3DDevice Interface.

The methods of the IDirect3DDevice interface can be organized into the following groups:

Execution CreateExecuteBuffer

Execute

Information EnumTextureFormats

GetCaps

GetDirect3D

GetPickRecords

GetStats

Matrices CreateMatrix

DeleteMatrix

GetMatrix

SetMatrix

Miscellaneous Initialize

Pick

SwapTextureHandles

Scenes BeginScene

EndScene

Viewports AddViewport

DeleteViewport

NextViewport

The IDirect3DDevice interface, like all COM interfaces, inherits the IUnknown interface methods. The IUnknown interface supports the following three methods:

AddRef

QueryInterface

Release

The Direct3DDevice object is obtained through the appropriate call to the IDirect3DDevice::QueryInterface method from a DirectDrawSurface object that was created as a 3D-capable surface.