Microsoft SDK for Java

findDeviceForColorModel

This method of the Direct3d Class finds a device with specified color model characteristics and retrieves a description of it.

Syntax

public _Guid findDeviceForColorModel(int cm, int hardware);

Parameters

cm One value of D3DCOLOR_ type, specifying the color model to locate.
hardware Set this value to 1 to specify that the device should be a hardware-only renderer; set to 0 for software only.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.