Vertex shader parameter node storing a two-dimensional (short integers) vector. More...
#include <Inventor/nodes/SoShaderParameter.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoVertexShaderParameter2s () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoMFVec2s | value |
This node allows the application to provide a per-vertex parameter of type two-dimensional vector of short integers to shader objects, e.g. SoVertexShader.
Vertex shader parameter nodes must be inserted in the scene graph.
See the base classes SoShaderParameter and SoVertexShaderParameter for details.
name | "" |
identifier | 0 |
value | 0 0 |
SoShaderParameter, SoVertexShaderParameter, SoUniformShaderParameter, SoVertexShaderParameter1f, SoVertexShaderParameter1s, SoVertexShaderParameter2f, SoVertexShaderParameter3f, SoVertexShaderParameter3s, SoVertexShaderParameter4f, SoVertexShaderParameter4i, SoVertexShaderParameter4s, SoVertexShaderParameter4b, SoVertexShaderParameter4ui, SoVertexShaderParameter4us, SoVertexShaderParameter4ub, SoVertexShaderParameterMatrix, SoShaderObject, SoShaderProgram.
SoVertexShaderParameter2s::SoVertexShaderParameter2s | ( | ) |
Constructor.
static SoType SoVertexShaderParameter2s::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoVertexShaderParameter.
virtual SoType SoVertexShaderParameter2s::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoVertexShaderParameter.
Specifies the parameter's values.