SoGeometryShaderIsSupported Method (SoShaderObjectSourceTypes, SoState) |
Indicates if geometry shaders in the specified language are supported by your graphics board.
Namespace: OIV.Inventor.NodesAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntaxpublic static bool IsSupported(
SoShaderObjectSourceTypes sourceType,
SoState state
)
Public Shared Function IsSupported (
sourceType As SoShaderObjectSourceTypes,
state As SoState
) As Boolean
public:
static bool IsSupported(
SoShaderObjectSourceTypes sourceType,
SoState^ state
)
static member IsSupported :
sourceType : SoShaderObjectSourceTypes *
state : SoState -> bool
Parameters
- sourceType
- Type: OIV.Inventor.NodesSoShaderObjectSourceTypes
- state
- Type: OIV.Inventor.MiscSoState
Return Value
Type:
Boolean
RemarksWhen 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