Click to Rate and Give Feedback
MSDN
MSDN Library
DirectX
SDK Documentation
DirectX Graphics
Direct3D 9
Reference
Direct3D Reference
Interfaces
IDirect3D9

  Switch on low bandwidth view
IDirect3D9
Bb174300.XDK_CHM_BANNER_left(en-us,VS.85).jpgBb174300.XDK_CHM_BANNER_right(en-us,VS.85).jpg

IDirect3D9

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

MethodDescription
IDirect3D9::CheckDepthStencilMatchDetermines whether a depth-stencil format is compatible with a render-target format in a particular display mode.
IDirect3D9::CheckDeviceFormatDetermines 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.
IDirect3D9::CheckDeviceFormatConversionTests the device to see if it supports conversion from one display format to another.
IDirect3D9::CheckDeviceMultiSampleTypeDetermines if a multisampling technique is available on this device.
IDirect3D9::CheckDeviceTypeVerifies whether a hardware accelerated device type can be used on this adapter.
IDirect3D9::CreateDeviceCreates a device to represent the display adapter.
IDirect3D9::EnumAdapterModesQueries 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.
IDirect3D9::GetAdapterCountReturns the number of adapters on the system.
IDirect3D9::GetAdapterDisplayModeRetrieves the current display mode of the adapter.
IDirect3D9::GetAdapterIdentifierDescribes the physical display adapters present in the system when the IDirect3D9 interface was instantiated.
IDirect3D9::GetAdapterModeCountReturns the number of display modes available on this adapter.
IDirect3D9::GetAdapterMonitorReturns the handle of the monitor associated with the Direct3D object.
IDirect3D9::GetDeviceCapsRetrieves device-specific information about a device.
IDirect3D9::RegisterSoftwareDeviceRegisters 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;

See Also

D3D Interfaces

Requirements

Header: Declared in D3D9.h.

Library: Use D3d9.lib.

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker