public class SoShaderParameterMatrix extends SoUniformShaderParameter
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.
Warning : if parameter is unused in the active shader program, an odd OpenGL error message may be displayed. Message may be something like
Inventor error in SoGLSLangProgram.setUniformMatrixParameter(): invalid matrix type Inventor GL error : SoNode.GLRenderS returned GL Error 1281
See the base classes SoShaderParameter and SoUniformShaderParameter for details.
Caution: With shader programs written using the ARB_ language, identifier, identifier + 1, identifier + 2, identifier + 3 will automatically refer to columns 0, 1, 2, and 3 of the matrix.
File format/default:
ShaderParameterMatrix {
| name | "" |
| identifier | 0 |
| value | 1 0 0 0 |
| 0 1 0 0 | |
| 0 0 1 0 | |
| 0 0 0 1 | |
| shaderType | VERTEX |
See also:
SoShaderParameter, SoUniformShaderParameter, SoShaderParameter1f, SoShaderParameter1i, SoShaderParameter2f, SoShaderParameter2i, SoShaderParameter3f, SoShaderParameter3i, SoShaderParameter4f, SoShaderParameter4i, SoShaderParameterArray1f, SoShaderParameterArray1i, SoShaderParameterArray2f, SoShaderParameterArray2i, SoShaderParameterArray3f, SoShaderParameterArray3i, SoShaderParameterArray4f, SoShaderParameter4i, SoShaderParameterMatrixArray, SoShaderStateMatrixParameter, SoShaderObject, SoShaderProgram.
SoUniformShaderParameter.ShaderTypesInventor.ConstructorCommand| Modifier and Type | Field and Description |
|---|---|
SoSFMatrix |
value
Specifies the parameter's value.
|
FRAGMENT, shaderType, VERTEXidentifier, nameVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
SoShaderParameterMatrix()
Constructor.
|
isEqualaffectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, writecopyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaultsdispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizablegetAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreadspublic final SoSFMatrix value
Generated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com