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.
public void setColors(int c);
c | The number of colors. |
By default, the initial number of colors is 8.