IDirect3DDevice Interface Method Groups

Applications use the methods of the IDirect3DDevice interface to retrieve and set the capabilities of Direct3D devices. The methods can be organized into the following groups:

Execution CreateExecuteBuffer

Execute

Information EnumTextureFormats

GetCaps

GetDirect3D

GetPickRecords

GetStats

IUnknown AddRef

QueryInterface

Release

Matrices CreateMatrix

DeleteMatrix

GetMatrix

SetMatrix

Miscellaneous Initialize

Pick

SwapTextureHandles

Scenes BeginScene

EndScene

Viewports AddViewport

DeleteViewport

NextViewport

All COM interfaces inherit the IUnknown interface methods, which are listed in the "IUnknown" group above. These three methods allow additional interfaces to be added to the Direct3DDevice object without affecting the functionality of the original interface.

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.