SoGLGraphicConfigTemplateSetIndexedColor Method (SoGraphicConfigTemplatePreferences, Int32, Int32) |
Note: This API is now obsolete.
Sets the indexed color preferences.
Namespace: OIV.Inventor.ComponentsAssembly: 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
)
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
<ObsoleteAttribute("See documentation for more details")>
Public Sub SetIndexedColor (
pref As SoGraphicConfigTemplatePreferences,
minBits As Integer,
maxBits As Integer
)
public:
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
[ObsoleteAttribute(L"See documentation for more details")]
void SetIndexedColor(
SoGraphicConfigTemplatePreferences pref,
int minBits,
int maxBits
)
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
[<ObsoleteAttribute("See documentation for more details")>]
member SetIndexedColor :
pref : SoGraphicConfigTemplatePreferences *
minBits : int *
maxBits : int -> unit
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