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
Information EnumTextureFormats
Matrices CreateMatrix
Miscellaneous Initialize
Scenes BeginScene
Viewports AddViewport
The IDirect3DDevice interface, like all COM interfaces, inherits the IUnknown interface methods. The IUnknown interface supports the following three methods:
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.