Microsoft DirectX 8.1 (C++) |
Applications use the methods of the IDirect3D8 interface to create Microsoft® Direct3D® objects and set up the environment. This interface includes methods for enumerating and retrieving capabilities of the device.
The IDirect3D8 interface is obtained by calling the Direct3DCreate8 function.
The methods of the IDirect3D8 interface can be organized into the following groups.
Creation | CreateDevice |
Enumeration | EnumAdapterModes |
Information | GetAdapterCount |
GetAdapterDisplayMode | |
GetAdapterIdentifier | |
GetAdapterModeCount | |
GetAdapterMonitor | |
GetDeviceCaps | |
Registration | RegisterSoftwareDevice |
Verification | CheckDepthStencilMatch |
CheckDeviceFormat | |
CheckDeviceMultiSampleType | |
CheckDeviceType |
This interface, like all COM interfaces, inherits additional functionality from the IUnknown Interface.
The LPDIRECT3D8 and PDIRECT3D8 types are defined as pointers to the IDirect3D8 interface.
typedef struct IDirect3D8 *LPDIRECT3D8, *PDIRECT3D8;
Header: Declared in D3d8.h.
Import Library: Use D3d8.lib.