MeVisLab Resolution Independence API
Toggle main menu visibility
Loading...
Searching...
No Matches
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
"
20
#include "
Inventor/nodes/SoShaderObject.h
"
21
23
class
INVENTOR_SHADER_API
SoGeometryShader
:
public
SoShaderObject
24
{
25
typedef
SoShaderObject
inherited;
26
27
SO_NODE_HEADER(
SoGeometryShader
);
28
29
public
:
31
SoGeometryShader
();
32
34
static
SbBool
isSupported
(
SourceType
sourceType
);
35
36
SoINTERNAL public :
37
39
SoShader::ShaderType
shaderType
()
const override
;
40
42
static
void
initClass
();
43
};
44
45
#endif
// _SO_GEOMETRY_SHADER_
SoShaderObject.h
SoShaderSystem.h
INVENTOR_SHADER_API
#define INVENTOR_SHADER_API
Define class export specifier.
Definition
SoShaderSystem.h:20
SoGeometryShader::SoGeometryShader
SoGeometryShader()
Constructor.
SoGeometryShader::isSupported
static SbBool isSupported(SourceType sourceType)
Returns TRUE if the GL implementation supports geometry shaders.
SoGeometryShader::shaderType
SoShader::ShaderType shaderType() const override
Returns SoShader::GEOMETRY_SHADER since this is a geometry shader.
SoGeometryShader::initClass
static void initClass()
Initialize class with runtime type system.
SoShaderObject::SoShaderObject
SoShaderObject()
Constructor.
SoShaderObject::sourceType
SoSFEnum sourceType
Specify shader object's source type.
Definition
SoShaderObject.h:51
SoShaderObject::SourceType
SourceType
Shader object's source type.
Definition
SoShaderObject.h:38
SoShader::ShaderType
ShaderType
Definition
SoShaderTypes.h:24
MeVisLab
Standard
Sources
Inventor
SoShader
Inventor
nodes
SoGeometryShader.h
Generated by
1.18.0