Export (0) Print
Expand All

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.

Members

The IDirect3D9 interface inherits from the IUnknown interface. IDirect3D9 also has these types of members:

Methods

The IDirect3D9 interface has these methods.

MethodDescription
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

Queries the device to determine whether the specified adapter supports the requested format and display mode. This method could be used in a loop to enumerate all 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 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

Header

D3D9.h

Library

D3d9.lib

See also

Direct3D Interfaces

 

 

Community Additions

ADD
Show:
© 2014 Microsoft