SoGLGraphicConfigGetRGBAColor Method |
Returns the color depth (red, green, blue, and alpha).
Namespace: OIV.Inventor.ComponentsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public void GetRGBAColor(
out int redBits,
out int greenBits,
out int blueBits,
out int alphaBits
)
Public Sub GetRGBAColor (
<OutAttribute> ByRef redBits As Integer,
<OutAttribute> ByRef greenBits As Integer,
<OutAttribute> ByRef blueBits As Integer,
<OutAttribute> ByRef alphaBits As Integer
)
public:
void GetRGBAColor(
[OutAttribute] int% redBits,
[OutAttribute] int% greenBits,
[OutAttribute] int% blueBits,
[OutAttribute] int% alphaBits
)
member GetRGBAColor :
redBits : int byref *
greenBits : int byref *
blueBits : int byref *
alphaBits : int byref -> unit
Parameters
- redBits
- Type: SystemInt32
- greenBits
- Type: SystemInt32
- blueBits
- Type: SystemInt32
- alphaBits
- Type: SystemInt32
Remarks If (red/green/blue/alpha)Bits are equal to 0, then the OpenGL graphics configuration does not support RGBA mode.
See Also