SoGLGraphicConfigTemplateSetAccum Method (SoGraphicConfigTemplatePreferences, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32) |
Sets the accumulation preferences.
Namespace: OIV.Inventor.ComponentsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax public void SetAccum(
SoGraphicConfigTemplatePreferences pref,
int minRedBits,
int minGreenBits,
int minBlueBits,
int minAlphaBits,
int maxRedBits,
int maxGreenBits,
int maxBlueBits,
int maxAlphaBits
)
Public Sub SetAccum (
pref As SoGraphicConfigTemplatePreferences,
minRedBits As Integer,
minGreenBits As Integer,
minBlueBits As Integer,
minAlphaBits As Integer,
maxRedBits As Integer,
maxGreenBits As Integer,
maxBlueBits As Integer,
maxAlphaBits As Integer
)
public:
void SetAccum(
SoGraphicConfigTemplatePreferences pref,
int minRedBits,
int minGreenBits,
int minBlueBits,
int minAlphaBits,
int maxRedBits,
int maxGreenBits,
int maxBlueBits,
int maxAlphaBits
)
member SetAccum :
pref : SoGraphicConfigTemplatePreferences *
minRedBits : int *
minGreenBits : int *
minBlueBits : int *
minAlphaBits : int *
maxRedBits : int *
maxGreenBits : int *
maxBlueBits : int *
maxAlphaBits : int -> unit
Parameters
- pref
- Type: OIV.Inventor.ComponentsSoGraphicConfigTemplatePreferences
- minRedBits
- Type: SystemInt32
- minGreenBits
- Type: SystemInt32
- minBlueBits
- Type: SystemInt32
- minAlphaBits
- Type: SystemInt32
- maxRedBits
- Type: SystemInt32
- maxGreenBits
- Type: SystemInt32
- maxBlueBits
- Type: SystemInt32
- maxAlphaBits
- Type: SystemInt32
Remarks
min(red/green/blue/alpha)Bits and max(red/green/blue/alpha)Bits are the minimum and maximum required sizes. The required size must be greater than or equal to min(red/green/blue/alpha)Bits, and less than or equal to max(red/green/blue/alpha)Bits. The maximum size is always preferred. If pref is FORBIDDEN, the min/max values are ignored.
See Also