Class SoComputeShaderScheduler

  • All Implemented Interfaces:
    SafeDisposable

    public class SoComputeShaderScheduler
    extends SoNode
    Compute shader scheduler node. This node allows the application to setup the invocation of a compute shader.

    When traversed by a rendering action, this node launches one or more compute work groups. Each work group is processed by the current SoShaderProgram for the SoComputeShader stage.

    See Compute Shader section of the OpenGL wiki for more information about the execution model of compute shaders.

    File format/default:

    ComputeShaderScheduler {

      numWorkGroups 1 1 1
      policy EACH_FRAME
    }

    Since:
    Open Inventor 10.12

    See Also:
    SoComputeShader, SoShaderParameterBufferObject, SoShaderParameterImage, SoShaderProgram
    • Field Detail

      • numWorkGroups

        public final SoSFVec3i32 numWorkGroups
        Specifies the number of local work groups dispatched in the X, Y and Z dimensions for the computation. Default value is (1, 1, 1)
    • Constructor Detail

      • SoComputeShaderScheduler

        public SoComputeShaderScheduler()