Click or drag to resize
SoFragmentShaderIsSupported Method (SoShaderObjectSourceTypes, SoState)

Indicates if fragment shaders in the specified language are supported by your graphics board.

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public static bool IsSupported(
	SoShaderObjectSourceTypes sourceType,
	SoState state
)

Parameters

sourceType
Type: OIV.Inventor.NodesSoShaderObjectSourceTypes
state
Type: OIV.Inventor.MiscSoState

Return Value

Type: Boolean
Remarks

When using a debug build of Open Inventor, some "no context available" warning messages may be generated. You can ignore them or see OIV.Inventor.Devices.SoGLExtension for an example of using OIV.Inventor.Devices.SoGLContext to avoid them.

See Also