Class SoComputeShader

    • Constructor Detail

      • SoComputeShader

        public SoComputeShader()
    • Method Detail

      • isSupported

        public static boolean isSupported​(SoShaderObject.SourceTypes sourceType)
        Calls isSupported(sourceType, (com.openinventor.inventor.misc.SoState)null).
      • isSupported

        public static boolean isSupported​(SoShaderObject.SourceTypes sourceType,
                                          SoState state)
        Indicates if compute shaders in the specified language are supported by your graphics board. When using a debug build of Open Inventor, warning messages such as "no context available" may be generated. You can ignore them or see SoGLExtension for an example of using SoGLContext to avoid them.