Class ARBGLSPIRV



  • public class ARBGLSPIRV
    extends java.lang.Object
    Native bindings to the ARB_gl_spirv extension.

    This is version 100 of the GL_ARB_gl_spirv extension.

    This extension does two things:

    1. Allows a SPIR-V module to be specified as containing a programmable shader stage, rather than using GLSL, whatever the source language was used to create the SPIR-V module.
    2. Modifies GLSL to be a source language for creating SPIR-V modules for OpenGL consumption. Such GLSL can be used to create such SPIR-V modules, outside of the OpenGL runtime.

    Requires OpenGL 3.3.

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void glSpecializeShaderARB(int shader, java.nio.ByteBuffer pEntryPoint, int[] pConstantIndex, int[] pConstantValue)
      Array version of: SpecializeShaderARB
      static void glSpecializeShaderARB(int shader, java.nio.ByteBuffer pEntryPoint, java.nio.IntBuffer pConstantIndex, java.nio.IntBuffer pConstantValue)
      Specializes a shader created from a SPIR-V module.
      static void glSpecializeShaderARB(int shader, java.lang.CharSequence pEntryPoint, int[] pConstantIndex, int[] pConstantValue)
      Array version of: SpecializeShaderARB
      static void glSpecializeShaderARB(int shader, java.lang.CharSequence pEntryPoint, java.nio.IntBuffer pConstantIndex, java.nio.IntBuffer pConstantValue)
      Specializes a shader created from a SPIR-V module.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • glSpecializeShaderARB

        public static void glSpecializeShaderARB(int shader,
                                                 java.nio.ByteBuffer pEntryPoint,
                                                 java.nio.IntBuffer pConstantIndex,
                                                 java.nio.IntBuffer pConstantValue)
        
        public static void glSpecializeShaderARB(int shader,
                                                 java.lang.CharSequence pEntryPoint,
                                                 java.nio.IntBuffer pConstantIndex,
                                                 java.nio.IntBuffer pConstantValue)
        
        Specializes a shader created from a SPIR-V module.
        Parameters:
        shader -
        pEntryPoint -
        pConstantIndex -
        pConstantValue -
      • glSpecializeShaderARB

        public static void glSpecializeShaderARB(int shader,
                                                 java.nio.ByteBuffer pEntryPoint,
                                                 int[] pConstantIndex,
                                                 int[] pConstantValue)
        
        public static void glSpecializeShaderARB(int shader,
                                                 java.lang.CharSequence pEntryPoint,
                                                 int[] pConstantIndex,
                                                 int[] pConstantValue)
        
        Array version of: SpecializeShaderARB