Click or drag to resize
SoGLGraphicConfigTemplateSetIndexedColor Method (SoGraphicConfigTemplatePreferences, Int32, Int32)

Note: This API is now obsolete.

Sets the indexed color preferences.

Namespace: OIV.Inventor.Components
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.36.0 (9.9.36.0)
Syntax
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
[ObsoleteAttribute("See documentation for more details")]
public void SetIndexedColor(
	SoGraphicConfigTemplatePreferences pref,
	int minBits,
	int maxBits
)

Parameters

pref
Type: OIV.Inventor.ComponentsSoGraphicConfigTemplatePreferences
minBits
Type: SystemInt32
maxBits
Type: SystemInt32
Remarks

REQUIRED means indexed color mode and FORBIDDEN means RGBA or floating point RGBA mode. minBits and maxBits are the minimum and maximum required size. The required size must be greater than or equal to minBits, and less than or equal to maxBits. The maximum size is always preferred. If pref is FORBIDDEN, the min/max values are ignored.Obsoletesince Open Inventor 9610 IndexedColor feature is legacy, and no longer makes sense with current hardware.

See Also