public class SoGeometryShader extends SoShaderObject
See SoShaderProgram for general information about using shaders and shader parameters.
See parent class SoShaderObject for details about using the inherited fields.
Notes:
SoShaderProgram node.
Limitations:
SoGetBoundingBoxAction, SoGetPrimitiveCountAction and SoRayPickAction.
SoCube, SoIndexedFaceSet defines with quads or polygons, SoQuadMesh are not compatible with SoGeometryShader.
File format/default:
GeometryShader {
| sourceProgram | "" |
| sourceType | FILENAME |
| isActive | true |
| parameter | NULL |
See also:
SoFragmentShader, SoVertexShader, SoShaderObject, SoShaderProgram, SoTessellationControlShader, SoTessellationEvaluationShaderSoUniformShaderParameter,
SoShaderObject.ShaderTypes, SoShaderObject.SourceTypesInventor.ConstructorCommandARB_PROGRAM, CG_PROGRAM, FILENAME, FRAGMENT_SHADER, GEOMETRY_SHADER, GLSL_PROGRAM, isActive, parameter, sourceProgram, sourceType, TESSELLATION_CONTROL_SHADER, TESSELLATION_EVALUATION_SHADER, VERTEX_SHADERVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
SoGeometryShader()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isSupported(SoShaderObject.SourceTypes sourceType)
Calls isSupported(sourceType, (com.openinventor.inventor.misc.SoState)null).
|
static boolean |
isSupported(SoShaderObject.SourceTypes sourceType,
SoState state)
Indicates if geometry shaders in the specified language are supported by your graphics board.
|
getShaderTypeaffectsState, 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 static boolean isSupported(SoShaderObject.SourceTypes sourceType)
public static boolean isSupported(SoShaderObject.SourceTypes sourceType, SoState state)
SoGLExtension for an example of using SoGLContext to avoid them.Generated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com