IDirect3D9 interface (d3d9helper.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 (d3d9helper.h) method determines whether a depth-stencil format is compatible with a render-target format.
IDirect3D9::CheckDeviceFormat

The IDirect3D9::CheckDeviceFormat (d3d9helper.h) method determines whether a surface format is available as a specified resource type.
IDirect3D9::CheckDeviceFormatConversion

The IDirect3D9::CheckDeviceFormatConversion (d3d9helper.h) method tests the device to see if it supports conversion from one display format to another.
IDirect3D9::CheckDeviceMultiSampleType

The IDirect3D9::CheckDeviceMultiSampleType (d3d9helper.h) method determines if a multisampling technique is available on this device.
IDirect3D9::CheckDeviceType

The IDirect3D9::CheckDeviceType (d3d9helper.h) method verifies whether a hardware accelerated device type can be used on this adapter.
IDirect3D9::CreateDevice

The IDirect3D9::CreateDevice (d3d9helper.h) method creates a device to represent the display adapter.
IDirect3D9::EnumAdapterModes

The IDirect3D9::EnumAdapterModes (d3d9helper.h) method queries the device to determine whether the specified adapter supports the requested format and display mode.
IDirect3D9::GetAdapterCount

The IDirect3D9::GetAdapterCount (d3d9helper.h) method returns the number of adapters on the system.
IDirect3D9::GetAdapterDisplayMode

The IDirect3D9::GetAdapterDisplayMode (d3d9helper.h) method retrieves the current display mode of the adapter.
IDirect3D9::GetAdapterIdentifier

The IDirect3D9::GetAdapterIdentifier (d3d9helper.h) method describes the physical display adapters present in the system when the IDirect3D9 interface was instantiated.
IDirect3D9::GetAdapterModeCount

The IDirect3D9::GetAdapterModeCount (d3d9helper.h) method returns the number of display modes available on this adapter.
IDirect3D9::GetAdapterMonitor

The IDirect3D9::GetAdapterMonitor (d3d9helper.h) method returns the handle of the monitor associated with the Direct3D object.
IDirect3D9::GetDeviceCaps

The IDirect3D9::GetDeviceCaps (d3d9helper.h) method retrieves device-specific information about a device.
IDirect3D9::RegisterSoftwareDevice

The IDirect3D9::RegisterSoftwareDevice (d3d9helper.h) method registers a pluggable software device, which provide software rasterization enabling applications to access software rasterizers.

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 d3d9helper.h (include D3D9.h)

See also

Direct3D Interfaces