IDirect3D9 interface (d3d9.h)
Applications use the methods of the IDirect3D9 interface to create Microsoft Direct3D objects and set up the environment. This interface includes methods for enumerating and retrieving capabilities of the device.
Inheritance
The IDirect3D9 interface inherits from the IUnknown interface. IDirect3D9 also has these types of members:
Methods
The IDirect3D9 interface has these methods.
IDirect3D9::CheckDepthStencilMatch The IDirect3D9::CheckDepthStencilMatch method (d3d9helper.h) determines whether a depth-stencil format is compatible with a render-target format in a particular display mode. |
IDirect3D9::CheckDeviceFormat The IDirect3D9::CheckDeviceFormat method (d3d9helper.h) determines whether a surface format is available as a specified resource type. |
IDirect3D9::CheckDeviceFormatConversion The IDirect3D9::CheckDeviceFormatConversion method (d3d9helper.h) tests the device to see if it supports conversion from one display format to another. |
IDirect3D9::CheckDeviceMultiSampleType The IDirect3D9::CheckDeviceMultiSampleType method (d3d9.h) determines if a multisampling technique is available on this device. |
IDirect3D9::CheckDeviceType The IDirect3D9::CheckDeviceType method (d3d9.h) verifies whether a hardware accelerated device type can be used on this adapter. |
IDirect3D9::CreateDevice The IDirect3D9::CreateDevice method (d3d9.h) creates a device to represent the display adapter. |
IDirect3D9::EnumAdapterModes The IDirect3D9::EnumAdapterModes method (d3d9.h) queries the device to determine whether the specified adapter supports the requested format and display mode. |
IDirect3D9::GetAdapterCount The IDirect3D9::GetAdapterCount method (d3d9.h) returns the number of adapters on the system. |
IDirect3D9::GetAdapterDisplayMode The IDirect3D9::GetAdapterDisplayMode method (d3d9.h) retrieves the current display mode of the adapter. |
IDirect3D9::GetAdapterIdentifier The IDirect3D9::GetAdapterIdentifier method (d3d9.h) describes the physical display adapters present in the system when the IDirect3D9 interface was instantiated. |
IDirect3D9::GetAdapterModeCount The IDirect3D9::GetAdapterModeCount method (d3d9.h) returns the number of display modes available on this adapter. |
IDirect3D9::GetAdapterMonitor The IDirect3D9::GetAdapterMonitor method (d3d9.h) returns the handle of the monitor associated with the Direct3D object. |
IDirect3D9::GetDeviceCaps The IDirect3D9::GetDeviceCaps method (d3d9.h) retrieves device-specific information about a device. |
IDirect3D9::RegisterSoftwareDevice The IDirect3D9::RegisterSoftwareDevice method (d3d9.h) registers a pluggable software device. |
Remarks
The IDirect3D9 interface is obtained by calling the Direct3DCreate9 function.
The LPDIRECT3D9 and PDIRECT3D9 types are defined as pointers to the IDirect3D9 interface.
typedef struct IDirect3D9 *LPDIRECT3D9, *PDIRECT3D9;
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d9.h (include D3D9.h) |