?/TD>
Microsoft DirectX 9.0

IDirect3D9 Interface


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.

IDirect3D9 Members

CheckDepthStencilMatch

Determines whether a depth-stencil format is compatible with a render target format in a particular display mode.

CheckDeviceFormat

Determines whether a surface format is available as a specified resource type and can be used as a texture, depth-stencil buffer, or render target, or any combination of the three, on a device representing this adapter.

CheckDeviceFormatConversion Tests the device to see if it supports conversion from one display format to another.
CheckDeviceMultiSampleType

Determines if a multisampling technique is available on this device.

CheckDeviceType

Verifies whether a hardware accelerated device type can be used on this adapter.

CreateDevice

Creates a device to represent the display adapter.

EnumAdapterModes Enumerate the available adapter modes.
GetAdapterCount

Returns the number of adapters on the system.

GetAdapterDisplayMode

Retrieves the current display mode of the adapter.

GetAdapterIdentifier

Describes the physical display adapters present in the system when the IDirect3D9 interface was instantiated.

GetAdapterModeCount

Returns the number of display modes available on this adapter.

GetAdapterMonitor

Returns the handle of the monitor associated with the Direct3D object.

GetDeviceCaps

Retrieves device-specific information about a device.

RegisterSoftwareDevice

Registers a pluggable software device. Software devices provide software rasterization enabling applications to access a variety of software rasterizers.

Remarks

The IDirect3D9 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;

Interface Information

Inherits fromIUnknown
Headerd3d9.h
Import libraryd3d9.lib
Minimum operating systems Windows 98

See Also

Direct3DCreate9


© 2002 Microsoft Corporation. All rights reserved.