Microsoft SDK for Java

setColors

This method of the Direct3dRMTexture Class sets the maximum number of colors used for rendering a texture. This method is required only in the ramp color model.

Syntax

public void setColors(int c);

Parameters

c The number of colors.

Remarks

By default, the initial number of colors is 8.

See Also

getColors

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