Node that defines a geometry shader. More...
#include <Inventor/nodes/SoGeometryShader.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoGeometryShader () | |
virtual ShaderType | getShaderType () const |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static SbBool | isSupported (SoShaderObject::SourceType sourceType, SoState *state=NULL) |
This node defines a geometry 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, SoVertexShader, SoShaderObject, SoShaderProgram, SoTessellationControlShader, SoTessellationEvaluationShader SoUniformShaderParameter,
GPUGeometry, InterleavedVertexAttribFeedback, SimpleVertexAttribFeedback, VertexAttribFeedback, SimplePassthrough
SoGeometryShader::SoGeometryShader | ( | ) |
Constructor.
static SoType SoGeometryShader::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoShaderObject.
virtual ShaderType SoGeometryShader::getShaderType | ( | ) | const [inline, virtual] |
Returns the shader type.
Implements SoShaderObject.
virtual SoType SoGeometryShader::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoShaderObject.
static SbBool SoGeometryShader::isSupported | ( | SoShaderObject::SourceType | sourceType, | |
SoState * | state = NULL | |||
) | [static] |
Indicates if geometry 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.