MeVisLab Resolution Independence API
SoFragmentShader.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_FRAGMENT_SHADER_H
14#define SO_FRAGMENT_SHADER_H
15
16
18
19#include "SoShaderSystem.h"
21
24{
26
27 SO_NODE_HEADER(SoFragmentShader);
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_FRAGMENT_SHADER_
#define INVENTOR_SHADER_API
Define class export specifier.
Open Inventor fragment shader node.
static SbBool isSupported(SourceType sourceType)
Returns TRUE if the GL implementation supports fragment shaders.
SoFragmentShader()
Constructor.
static void initClass()
Initialize class with runtime type system.
SoShader::ShaderType shaderType() const override
Returns SoShader::FRAGMENT_SHADER since this is a fragment shader.
Abstract Open Inventor node for vertex or fragment shader nodes.
SourceType
Shader object's source type.