Microsoft SDK for Java

setShades

This method of the Direct3dRMDevice Class sets the number of shades in a ramp of colors used for shading.

Syntax

public void setShades(int s);

Parameters

s The new number of shades. This parameter must be a power of 2.

Remarks

By default, a device's number of shades is initially set to 32.

See Also

getShades

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