25#ifndef _SO_FRAGMENT_SHADER_H_
26#define _SO_FRAGMENT_SHADER_H_
146 static void initClass();
149 static void exitClass();
152 static bool isFragmentShadowSupported(
SoState* state);
155 static bool isDrawBuffersSupported(
SoState* state);
#define SO_NODE_HEADER(className)
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Node that define...
virtual ShaderType getShaderType() const
Returns the shader type.
SoFragmentShader()
Constructor.
static unsigned int getMaxTextureImageUnit()
Returns the maximum number of texture image units.
static SbBool isSupported(SoShaderObject::SourceType sourceType, SoState *state=NULL)
Indicates if fragment shaders in the specified language are supported by your graphics board.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract node cl...
ShaderType
Type of the shader.
@ FRAGMENT_SHADER
The shader is a fragment shader.
SoSFEnum sourceType
Specifies the shader object's source type.
SourceType
Shader Object source type possible values.