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.
public void setShades(int s);
s | The new number of shades. This value must be a power of 2. |
By default, the initial number of shades is 16.