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: 9.9.13.0 (9.9.13.0)
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 SoGLExtension for an example of using SoGLContext to avoid them.

See Also