Class SoTessellationEvaluationShader

All Implemented Interfaces:
SafeDisposable

public class SoTessellationEvaluationShader extends SoShaderObject
Node that defines a tessellation evaluation shader. This node defines a tessellation evaluation shader.
See SoShaderProgram for general information about using shaders and shader parameters.

See parent class SoShaderObject for details about using the inherited fields.

Notes:

  • Shader object nodes cannot be inserted directly in a scene graph.
    They must be added to the shaderObject field of an SoShaderProgram node.

Limitations:

File format/default:

TessellationEvaluationShader {

    sourceProgram ""
    sourceType FILENAME
    isActive true
    parameter NULL
}

See Also:
  • Constructor Details

    • SoTessellationEvaluationShader

      public SoTessellationEvaluationShader()
      Constructor.
  • Method Details

    • 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)
      Returns true if tessellation evaluation shaders in the specified language are supported by your graphics board. 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.