Package com.openinventor.inventor.nodes
Class SoVertexShaderParameter4ub
- 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.SoVertexShaderParameter4ub
-
- All Implemented Interfaces:
SafeDisposable
public class SoVertexShaderParameter4ub extends SoVertexShaderParameter
Vertex shader parameter node storing a four-dimensional (unsigned 8-bit integer) vector. This node allows the application to provide a per-vertex parameter of type four-dimensional vector of unsigned 8-bit integers to shader objects, e.g.SoVertexShader.Vertex shader parameter nodes must be inserted in the scene graph.
See the base classes
SoShaderParameterandSoVertexShaderParameterfor details.The
rangeScalingfield indicates if values shall be scaled to a normalized range when they are loaded. SettingrangeScalingto true implies the following conversion for each component c of the vector: c/(2^8-1), i.e., scaling from [0;2^8-1] to [0;+1].File format/default:
VertexShaderParameter4ub {
name "" identifier 0 value 0 0 0 1 rangeScaling false - See Also:
SoShaderParameter,SoVertexShaderParameter,SoUniformShaderParameter,SoVertexShaderParameter1f,SoVertexShaderParameter1s,SoVertexShaderParameter2f,SoVertexShaderParameter2s,SoVertexShaderParameter3f,SoVertexShaderParameter3s,SoVertexShaderParameter4f,SoVertexShaderParameter4i,SoVertexShaderParameter4s,SoVertexShaderParameter4b,SoVertexShaderParameter4ui,SoVertexShaderParameter4us,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 SoSFBoolrangeScalingIndicates if values shall be scaled to a normalized range when they are loaded.SoMFVec4ubvalueSpecifies 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 SoVertexShaderParameter4ub()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 SoMFVec4ub 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.
-
-