Package com.openinventor.inventor.nodes
Class SoVertexShaderParameter4i
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.misc.SoBase
-
- com.openinventor.inventor.fields.SoFieldContainer
-
- com.openinventor.inventor.nodes.SoNode
-
- com.openinventor.inventor.nodes.SoShaderParameter
-
- com.openinventor.inventor.nodes.SoVertexShaderParameter
-
- com.openinventor.inventor.nodes.SoVertexShaderParameter4i
-
- All Implemented Interfaces:
SafeDisposable
public class SoVertexShaderParameter4i extends SoVertexShaderParameter
Vertex shader parameter node storing a four-dimensional (integer) vector. 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
andSoVertexShaderParameter
for details.The
rangeScaling
field indicates if values shall be scaled to a normalized range when they are loaded. SettingrangeScaling
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].File format/default:
VertexShaderParameter4i {
name "" identifier 0 value 0 0 0 1 rangeScaling false - See Also:
SoShaderParameter
,SoVertexShaderParameter
,SoUniformShaderParameter
,SoVertexShaderParameter1f
,SoVertexShaderParameter1s
,SoVertexShaderParameter2f
,SoVertexShaderParameter2s
,SoVertexShaderParameter3f
,SoVertexShaderParameter3s
,SoVertexShaderParameter4f
,SoVertexShaderParameter4s
,SoVertexShaderParameter4b
,SoVertexShaderParameter4ui
,SoVertexShaderParameter4us
,SoVertexShaderParameter4ub
,SoVertexShaderParameterMatrix
,SoShaderObject
,SoShaderProgram
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoNode
SoNode.RenderModes
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
Fields Modifier and Type Field Description SoSFBool
rangeScaling
Indicates if values shall be scaled to a normalized range when they are loaded.SoMFVec4i32
value
Specifies the parameter's values.-
Fields inherited from class com.openinventor.inventor.nodes.SoShaderParameter
identifier, name
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoVertexShaderParameter4i()
Constructor.
-
Method Summary
-
Methods inherited from class com.openinventor.inventor.nodes.SoNode
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderEngineMode, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
-
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
-
Methods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable
-
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
-
-
-
Field Detail
-
value
public final SoMFVec4i32 value
Specifies the parameter's values.
-
rangeScaling
public final SoSFBool rangeScaling
Indicates if values shall be scaled to a normalized range when they are loaded.
-
-