Microsoft SDK for Java

setShades

This method of the Direct3dRMTexture Class sets the maximum number of shades to use for each color for the texture when rendering. This method is required only in the ramp color model.

Syntax

public void setShades(int s);

Parameters

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

Remarks

By default, the initial number of shades is 16.

See Also

getShades

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