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

Indicates if compute 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, warning messages such as "no context available" 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