SoVertexShader Class Reference
[Shaders]

VSG extension Node that defines a vertex shader. More...

#include <Inventor/nodes/SoVertexShader.h>

Inheritance diagram for SoVertexShader:
SoShaderObject SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoVertexShader ()
virtual ShaderType getShaderType () const

Static Public Member Functions

static SoType getClassTypeId ()
static SbBool isSupported (SoShaderObject::SourceType sourceType, SoState *state=NULL)

Detailed Description

VSG extension Node that defines a vertex shader.

This node defines a vertex shader.

See SoShaderProgram for general information about using shaders and shader parameters.

See parent class SoShaderObject for details about using the inherited fields.

Notes:

Limitations:

FILE FORMAT/DEFAULT

SEE ALSO

SoFragmentShader, SoGeometryShader, SoShaderObject, SoShaderProgram, SoTessellationControlShader, SoTessellationEvaluationShader, SoUniformShaderParameter, SoVertexShaderParameter

See related examples:

GPUGeometry, InterleavedVertexAttribFeedback, SimpleVertexAttribFeedback, VertexAttribFeedback, AnimatedFlag, GeometryShader, PixelLighting, shadowShader, SimplePassthrough, ToonShading, ShadersBrowser


Constructor & Destructor Documentation

SoVertexShader::SoVertexShader (  ) 

Constructor.


Member Function Documentation

static SoType SoVertexShader::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoShaderObject.

virtual ShaderType SoVertexShader::getShaderType (  )  const [inline, virtual]

Returns the shader type.

Implements SoShaderObject.

virtual SoType SoVertexShader::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from SoShaderObject.

static SbBool SoVertexShader::isSupported ( SoShaderObject::SourceType  sourceType,
SoState state = NULL 
) [static]

Indicates if vertex shaders in the specified language are supported by your graphics board.

When using a debug build of Open Inventor, some "no context available" warning messages may be generated. You can ignore them or see SoGLExtension for an example of using SoGLContext to avoid them.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/