MeVisLab Toolbox Reference
SoVertexShader.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_VERTEX_SHADER_H
14
#define SO_VERTEX_SHADER_H
15
16
18
19
#include "SoShaderSystem.h"
20
#include "
Inventor/nodes/SoShaderObject.h
"
21
23
class
INVENTOR_SHADER_API
SoVertexShader
:
public
SoShaderObject
24
{
25
typedef
SoShaderObject
inherited;
26
27
SO_NODE_HEADER(
SoVertexShader
);
28
29
public
:
30
32
SoVertexShader
();
33
34
// Returns TRUE if the GL implementation supports vertex shaders.
35
static
SbBool
isSupported
(
SourceType
sourceType
);
36
37
SoINTERNAL
public
:
38
40
SoShader::ShaderType
shaderType
()
const override
;
41
43
static
void
initClass
();
44
};
45
46
#endif
// _SO_VERTEX_SHADER_
SoShaderObject.h
SoShaderObject::SoShaderObject
SoShaderObject()
Constructor.
SoShaderObject::sourceType
SoSFEnum sourceType
Specify shader object's source type.
Definition
SoShaderObject.h:52
SoShaderObject::SourceType
SourceType
Shader object's source type.
Definition
SoShaderObject.h:39
SoVertexShader::isSupported
static SbBool isSupported(SourceType sourceType)
SoVertexShader::shaderType
SoShader::ShaderType shaderType() const override
Returns SoShader::VERTEX_SHADER since this is a vertex shader.
SoVertexShader::initClass
static void initClass()
Initialize class with runtime type system.
SoVertexShader::SoVertexShader
SoVertexShader()
Constructor.
SoShader::ShaderType
ShaderType
Definition
SoShaderTypes.h:24
MeVisLab
Standard
Sources
Inventor
SoShader
Inventor
nodes
SoVertexShader.h
Generated by
1.15.0