Remarks An application supplies a display mode and a format to EnumAdapterModes which returns a display mode. If the desired device type is not available, the method will fail. For windowed applications, the back buffer format does not need to match the display mode format if the hardware supports color conversion. The set of possible back buffer formats is constrained, but the runtime will allow any valid back buffer format to be presented to any desktop format. For Windows and Windows XP, the full-screen device display refresh rate is set in the following order: GetAdapterModeCount Returns the number of display modes available on this adapter.

Uploader: Memuro
Date Added: 16 March 2014
File Size: 43.77 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 81769
Price: Free* [*Free Regsitration Required]

Multisampled back buffers and depth surfaces idirect3d9 never lockable. Software devices provide software rasterization enabling applications idirect3d9 access a variety of software rasterizers.

BOOL Value indicating whether the device type will be used in full-screen or windowed mode. This is used by Direct3D when the back buffer contents are copied to the front buffer during Present. Calling this method may change several members including:. Direct3D uses the 3D-Now!

Full-screen applications cannot do color conversion.

IDirect3DCheckDeviceType | Microsoft Docs

This method could be used in a loop to enumerate all the available adapter modes. This will result in a failed call. Idirec3td9 Windows and Windows XP, the full-screen device display refresh rate is set in the following order: Any call to create, release, idirect3d9 reset the device must be idirect3d9 using the same thread as the window procedure of the focus window.


If the method fails, the return value can be one of the following: GetDeviceCaps Retrieves device-specific information about idirect3d9 device. Describes the physical display adapters present in the system when the IDirect3D9 interface was instantiated. Combination of one or more options that control device creation. EnumAdapterModes Queries the device to determine whether the specified adapter supports the requested format and display mode.

Idirect3d9 the idirect3d9 device type is not available, the method will idirect3d9. Determines whether a depth-stencil format is compatible with a render-target format in a particular display mode.

The difference comes into play only when the application locks the back buffer and there is an explicit flag that the application must set in order to accomplish this. This value must be one of the render-target formats.

IDirect3D9::RegisterSoftwareDevice method

There are no idirect3d9 refresh rates below idirect3d9 hertz. The following code fragment shows how you could use CheckDeviceType to test whether a certain device type can idirect3d9 used on this adapter. Applications can discover hardware support for the presentation itself by calling CheckDeviceFormatConversion.

UINT Ordinal number that denotes the display adapter. Remarks An application supplies a display mode and a format to EnumAdapterModes which returns a display mode. Applications use the methods of the IDirect3D9 interface to create Microsoft Idirct3d9 objects and set up the environment.


Represents the display-mode index idirect3d9 is an unsigned integer between zero idirect3d9 the value returned by GetAdapterModeCount minus one. Note that an alpha channel can be present in the back buffer but the two display formats must be identical in all other respects.

IDirect3D9::CheckDeviceFormat method

CheckDeviceFormat Determines whether a surface format is available as idirect3d9 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. The purpose of each window is:. An unsupported refresh rate will default to the closest supported refresh rate below it. For example, idirect3d9 the application specifies 63 hertz, 60 hertz will be used.

IDirect3DEnumAdapterModes | Microsoft Docs

Methods The IDirect3D9 interface has these methods. This interface includes methods for odirect3d9 and retrieving capabilities of the device. Software idirect3d9 are loaded by the application and registered with the IDirect3D9 object. Direct3D idirect3d9 the software device for rendering.