MeVisLab Resolution Independence API
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"
21
24{
26
27 SO_NODE_HEADER(SoVertexShader);
28
29 public:
30
33
34 // Returns TRUE if the GL implementation supports vertex shaders.
35 static SbBool isSupported(SourceType sourceType);
36
37 SoINTERNAL public:
38
41
43 static void initClass();
44};
45
46#endif // _SO_VERTEX_SHADER_
#define INVENTOR_SHADER_API
Define class export specifier.
Abstract Open Inventor node for vertex or fragment shader nodes.
SourceType
Shader object's source type.
Open Inventor vertex shader node.
static SbBool isSupported(SourceType sourceType)
SoShader::ShaderType shaderType() const override
Returns SoShader::VERTEX_SHADER since this is a vertex shader.
static void initClass()
Initialize class with runtime type system.
SoVertexShader()
Constructor.