Node that defines a tessellation control shader. More...
#include <Inventor/nodes/SoTessellationControlShader.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoTessellationControlShader () | |
virtual ShaderType | getShaderType () const |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static SbBool | isSupported (SoShaderObject::SourceType sourceType, SoState *state=NULL) |
This node defines a tessellation control shader.
See SoShaderProgram for general information about using shaders and shader parameters.
See parent class SoShaderObject for details about using the inherited fields.
Notes:
Limitations:
sourceProgram | "" |
sourceType | FILENAME |
isActive | TRUE |
parameter | NULL |
SoFragmentShader, SoGeometryShader, SoShaderObject, SoShaderProgram, SoTessellationEvaluationShader, SoUniformShaderParameter, SoVertexShader
SoTessellationControlShader::SoTessellationControlShader | ( | ) |
Constructor.
static SoType SoTessellationControlShader::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoShaderObject.
virtual ShaderType SoTessellationControlShader::getShaderType | ( | ) | const [inline, virtual] |
Returns the shader type.
Implements SoShaderObject.
virtual SoType SoTessellationControlShader::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoShaderObject.
static SbBool SoTessellationControlShader::isSupported | ( | SoShaderObject::SourceType | sourceType, | |
SoState * | state = NULL | |||
) | [static] |
Returns true if tessellation control 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.