Class EXTGPUProgramParameters


  • public class EXTGPUProgramParameters
    extends java.lang.Object
    Native bindings to the EXT_gpu_program_parameters extension.

    This extension provides a new set of procedures to load multiple consecutive program environment parameters more efficiently, via a single GL call instead of multiple calls. This will reduce the amount of CPU overhead involved in loading parameters.

    With the existing ARB_vertex_program and ARB_fragment_program APIs, program parameters must be loaded one at a time, via separate calls. While the NV_vertex_program extension provides a set of similar functions that can be used to load program environment parameters (which are equivalent to "program parameters" in NV_vertex_program), no such function exists for program local parameters.

    • Method Detail

      • nglProgramEnvParameters4fvEXT

        public static void nglProgramEnvParameters4fvEXT​(int target,
                                                         int index,
                                                         int count,
                                                         long params)
      • glProgramEnvParameters4fvEXT

        public static void glProgramEnvParameters4fvEXT​(int target,
                                                        int index,
                                                        java.nio.FloatBuffer params)
      • nglProgramLocalParameters4fvEXT

        public static void nglProgramLocalParameters4fvEXT​(int target,
                                                           int index,
                                                           int count,
                                                           long params)
      • glProgramLocalParameters4fvEXT

        public static void glProgramLocalParameters4fvEXT​(int target,
                                                          int index,
                                                          java.nio.FloatBuffer params)
      • glProgramEnvParameters4fvEXT

        public static void glProgramEnvParameters4fvEXT​(int target,
                                                        int index,
                                                        float[] params)
        Array version of: ProgramEnvParameters4fvEXT
      • glProgramLocalParameters4fvEXT

        public static void glProgramLocalParameters4fvEXT​(int target,
                                                          int index,
                                                          float[] params)