Vertex shader parameter node storing a four-dimensional (integer) vector. More...
#include <Inventor/nodes/SoShaderParameter.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoVertexShaderParameter4i () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoMFVec4i32 | value |
SoSFBool | rangeScaling |
This node allows the application to provide a per-vertex parameter of type four-dimensional vector of 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.
The rangeScaling field indicates if values shall be scaled to a normalized range when they are loaded. Setting rangeScaling to TRUE implies the following conversion for each component c of the vector: (2*c+1)/(2^32-1), i.e., scaling from [-2^31;2^31-1] to [-1;+1].
name | "" |
identifier | 0 |
value | 0 0 0 1 |
rangeScaling | FALSE |
SoShaderParameter, SoVertexShaderParameter, SoUniformShaderParameter, SoVertexShaderParameter1f, SoVertexShaderParameter1s, SoVertexShaderParameter2f, SoVertexShaderParameter2s, SoVertexShaderParameter3f, SoVertexShaderParameter3s, SoVertexShaderParameter4f, SoVertexShaderParameter4s, SoVertexShaderParameter4b, SoVertexShaderParameter4ui, SoVertexShaderParameter4us, SoVertexShaderParameter4ub, SoVertexShaderParameterMatrix, SoShaderObject, SoShaderProgram.
SoVertexShaderParameter4i::SoVertexShaderParameter4i | ( | ) |
Constructor.
static SoType SoVertexShaderParameter4i::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoVertexShaderParameter.
virtual SoType SoVertexShaderParameter4i::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoVertexShaderParameter.
Indicates if values shall be scaled to a normalized range when they are loaded.
Specifies the parameter's values.