CAViewer::SetTextureMode

CAViewer class

Enables or disables 1D textured color mapping.

void SetTextureMode(
  short mode
  );

Parameters

mode
The desired texture mode. If set to 1, texture mapping is enabled; if set to 0, it is disabled.

Return Value

None.

Remarks

Texture mapping results in a more precise mapping of palette color values to the graph surface, but may result in slower graph updates. The visual difference between different TextureMode values is most noticeable when the number of data points in the graph is small.

TextureMode has no effect if Shading is disabled.

See Also

CAViewer::GetTextureMode, CAViewer::GetShading