Package com.openinventor.inventor.nodes
Class SoShaderParameter4f
- java.lang.Object
-
- All Implemented Interfaces:
SafeDisposable
public class SoShaderParameter4f extends SoUniformShaderParameter
Uniform shader parameter node storing a four-dimensional (float) vector. This node allows the application to provide a uniform parameter of type four-dimensional vector of floats to a shader object, e.g.SoFragmentShader
.Uniform shader parameter nodes are usually added to the shader object's parameter field to affect only that specific shader program, but can also be inserted in the scene graph and affect all subsequent shader programs.
See the base classes
SoShaderParameter
andSoUniformShaderParameter
for details.File format/default:
ShaderParameter4f {
name "" identifier 0 value 0 0 0 0 shaderType VERTEX - See Also:
SoShaderParameter
,SoUniformShaderParameter
,SoShaderParameter1f
,SoShaderParameter1i
,SoShaderParameter2f
,SoShaderParameter2i
,SoShaderParameter3f
,SoShaderParameter3i
,SoShaderParameter4i
,SoShaderParameterArray1f
,SoShaderParameterArray1i
,SoShaderParameterArray2f
,SoShaderParameterArray2i
,SoShaderParameterArray3f
,SoShaderParameterArray3i
,SoShaderParameterArray4f
,SoShaderParameterArray4i
,SoShaderParameterMatrix
,SoShaderParameterMatrixArray
,SoShaderStateMatrixParameter
,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 SoSFVec4f
value
Specifies the parameter's value.-
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 SoShaderParameter4f()
Constructor.
-
Method Summary
-
Methods inherited from class com.openinventor.inventor.nodes.SoUniformShaderParameter
isEqual
-
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 SoSFVec4f value
Specifies the parameter's value. Default is (0,0,0,0).
-
-