MeVisLab Resolution Independence API
|
Open Inventor vertex shader node. More...
#include <SoVertexShader.h>
Public Member Functions | |
SoVertexShader () | |
Constructor. | |
SoShader::ShaderType | shaderType () const override |
Returns SoShader::VERTEX_SHADER since this is a vertex shader. | |
Public Member Functions inherited from SoShaderObject | |
void | GLRender (SoGLRenderAction *action) override |
Add this node to element in state. | |
SoGLShaderObject * | getGLShaderObject () |
Returns shader object. | |
SourceType | getSourceType () const |
Returns shader object's source type. | |
const SbString & | getSourceProgram () const |
Returns shader object's source program. | |
void | scheduleRebuild () |
Schedule rebuild of underlying OpenGL shader (e.g. due to GL context switch) | |
SbBool | containsMainFunction () const |
SbBool | isSnippet () const |
SbString | getSnippetFunctionName () const |
SnippetInsertionLocation | getSnippetInsertionLocation () const |
const SbList< SbString > & | getSnippetUniformList () const |
SbBool | hasSourceModifications () const |
Static Public Member Functions | |
static SbBool | isSupported (SourceType sourceType) |
static void | initClass () |
Initialize class with runtime type system. | |
Static Public Member Functions inherited from SoShaderObject | |
static void | initClass () |
Initialize class with runtime type system. | |
Additional Inherited Members | |
Public Types inherited from SoShaderObject | |
enum | SourceType { GLSL_PROGRAM , FILENAME } |
Shader object's source type. More... | |
enum | SnippetInsertionLocation { AT_BEGIN , AT_END } |
Public Attributes inherited from SoShaderObject | |
SoSFBool | isActive |
Enable / disable shader object. | |
SoSFEnum | sourceType |
Specify shader object's source type. | |
SoSFString | sourceProgram |
Contains the shader object's source or the filename of the source file. | |
SoSFBool | emulateLegacyOpenGL |
If enabled, legacy OpenGL state is emulated for shaders >= version 140. | |
Protected Member Functions inherited from SoShaderObject | |
void | checkType () |
void | readSource () |
SoShaderObject () | |
Constructor. | |
~SoShaderObject () override | |
Destructor. | |
Protected Attributes inherited from SoShaderObject | |
SoGLShaderObject * | _glShaderObject |
SourceType | _sourceType |
SbString | _sourceProgram |
Open Inventor vertex shader node.
Open Inventor vertex shader node.
Definition at line 23 of file SoVertexShader.h.
SoVertexShader::SoVertexShader | ( | ) |
Constructor.
|
static |
Initialize class with runtime type system.
|
static |
|
overridevirtual |
Returns SoShader::VERTEX_SHADER since this is a vertex shader.
Implements SoShaderObject.