MeVisLab Resolution Independence API
SoGeometryShader.h
Go to the documentation of this file.
1/*************************************************************************************
2**
3** Copyright 2007, MeVis Medical Solutions AG
4**
5** The user may use this file in accordance with the license agreement provided with
6** the Software or, alternatively, in accordance with the terms contained in a
7** written agreement between the user and MeVis Medical Solutions AG.
8**
9** For further information use the contact form at https://www.mevislab.de/contact
10**
11**************************************************************************************/
12
13#ifndef SO_GEOMETRY_SHADER_H
14#define SO_GEOMETRY_SHADER_H
15
16
18
19#include "SoShaderSystem.h"
21
24{
26
27 SO_NODE_HEADER(SoGeometryShader);
28
29 public:
30
33
35 static SbBool isSupported(SourceType sourceType);
36
37 SoINTERNAL public:
38
41
43 static void initClass();
44};
45
46#endif // _SO_GEOMETRY_SHADER_
#define INVENTOR_SHADER_API
Define class export specifier.
Open Inventor geometry shader node.
SoGeometryShader()
Constructor.
static SbBool isSupported(SourceType sourceType)
Returns TRUE if the GL implementation supports geometry shaders.
SoShader::ShaderType shaderType() const override
Returns SoShader::GEOMETRY_SHADER since this is a geometry shader.
static void initClass()
Initialize class with runtime type system.
Abstract Open Inventor node for vertex or fragment shader nodes.
SourceType
Shader object's source type.