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

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

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2023.1.3.0 (2023.1.3)
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