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
Information EnumTextureFormats
IUnknown AddRef
Matrices CreateMatrix
Miscellaneous Initialize
Scenes BeginScene
Viewports AddViewport
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.