13#ifndef SO_FRAGMENT_SHADER_H
14#define SO_FRAGMENT_SHADER_H
#define INVENTOR_SHADER_API
Define class export specifier.
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.
SoShaderObject()
Constructor.
SoSFEnum sourceType
Specify shader object's source type.
SourceType
Shader object's source type.