Class NVGPUShader5


  • public class NVGPUShader5
    extends java.lang.Object
    Native bindings to the NV_gpu_shader5 extension.

    This extension provides a set of new features to the OpenGL Shading Language and related APIs to support capabilities of new GPUs. Shaders using the new functionality provided by this extension should enable this functionality via the construct

    
     \#extension GL_NV_gpu_shader5 : require (or enable)

    This extension was developed concurrently with the ARB_gpu_shader5 extension, and provides a superset of the features provided there. The features common to both extensions are documented in the ARB_gpu_shader5 specification; this document describes only the addition language features not available via ARB_gpu_shader5. A shader that enables this extension via an \#extension directive also implicitly enables the common capabilities provided by ARB_gpu_shader5.

    In addition to the capabilities of ARB_gpu_shader5, this extension provides a variety of new features for all shader types, including:

    • support for a full set of 8-, 16-, 32-, and 64-bit scalar and vector data types, including uniform API, uniform buffer object, and shader input and output support;
    • the ability to aggregate samplers into arrays, index these arrays with arbitrary expressions, and not require that non-constant indices be uniform across all shader invocations;
    • new built-in functions to pack and unpack 64-bit integer types into a two-component 32-bit integer vector;
    • new built-in functions to pack and unpack 32-bit unsigned integer types into a two-component 16-bit floating-point vector;
    • new built-in functions to convert double-precision floating-point values to or from their 64-bit integer bit encodings;
    • new built-in functions to compute the composite of a set of boolean conditions a group of shader threads;
    • vector relational functions supporting comparisons of vectors of 8-, 16-, and 64-bit integer types or 16-bit floating-point types; and
    • extending texel offset support to allow loading texel offsets from regular integer operands computed at run-time, except for lookups with gradients (textureGrad*).

    This extension also provides additional support for processing patch primitives (introduced by ARB_tessellation_shader). ARB_tessellation_shader requires the use of a tessellation evaluation shader when processing patches, which means that patches will never survive past the tessellation pipeline stage. This extension lifts that restriction, and allows patches to proceed further in the pipeline and be used

    • as input to a geometry shader, using a new "patches" layout qualifier;
    • as input to transform feedback;
    • by fixed-function rasterization stages, in which case the patches are drawn as independent points.

    Additionally, it allows geometry shaders to read per-patch attributes written by a tessellation control shader using input variables declared with "patch in".

    Requires OpenGL 3.2, GLSL 1.50 and ARB_gpu_shader5.

    • Method Detail

      • glUniform1i64NV

        public static void glUniform1i64NV​(int location,
                                           long x)
      • glUniform2i64NV

        public static void glUniform2i64NV​(int location,
                                           long x,
                                           long y)
      • glUniform3i64NV

        public static void glUniform3i64NV​(int location,
                                           long x,
                                           long y,
                                           long z)
      • glUniform4i64NV

        public static void glUniform4i64NV​(int location,
                                           long x,
                                           long y,
                                           long z,
                                           long w)
      • nglUniform1i64vNV

        public static void nglUniform1i64vNV​(int location,
                                             int count,
                                             long value)
      • glUniform1i64vNV

        public static void glUniform1i64vNV​(int location,
                                            java.nio.LongBuffer value)
      • nglUniform2i64vNV

        public static void nglUniform2i64vNV​(int location,
                                             int count,
                                             long value)
      • glUniform2i64vNV

        public static void glUniform2i64vNV​(int location,
                                            java.nio.LongBuffer value)
      • nglUniform3i64vNV

        public static void nglUniform3i64vNV​(int location,
                                             int count,
                                             long value)
      • glUniform3i64vNV

        public static void glUniform3i64vNV​(int location,
                                            java.nio.LongBuffer value)
      • nglUniform4i64vNV

        public static void nglUniform4i64vNV​(int location,
                                             int count,
                                             long value)
      • glUniform4i64vNV

        public static void glUniform4i64vNV​(int location,
                                            java.nio.LongBuffer value)
      • glUniform1ui64NV

        public static void glUniform1ui64NV​(int location,
                                            long x)
      • glUniform2ui64NV

        public static void glUniform2ui64NV​(int location,
                                            long x,
                                            long y)
      • glUniform3ui64NV

        public static void glUniform3ui64NV​(int location,
                                            long x,
                                            long y,
                                            long z)
      • glUniform4ui64NV

        public static void glUniform4ui64NV​(int location,
                                            long x,
                                            long y,
                                            long z,
                                            long w)
      • nglUniform1ui64vNV

        public static void nglUniform1ui64vNV​(int location,
                                              int count,
                                              long value)
      • glUniform1ui64vNV

        public static void glUniform1ui64vNV​(int location,
                                             java.nio.LongBuffer value)
      • nglUniform2ui64vNV

        public static void nglUniform2ui64vNV​(int location,
                                              int count,
                                              long value)
      • glUniform2ui64vNV

        public static void glUniform2ui64vNV​(int location,
                                             java.nio.LongBuffer value)
      • nglUniform3ui64vNV

        public static void nglUniform3ui64vNV​(int location,
                                              int count,
                                              long value)
      • glUniform3ui64vNV

        public static void glUniform3ui64vNV​(int location,
                                             java.nio.LongBuffer value)
      • nglUniform4ui64vNV

        public static void nglUniform4ui64vNV​(int location,
                                              int count,
                                              long value)
      • glUniform4ui64vNV

        public static void glUniform4ui64vNV​(int location,
                                             java.nio.LongBuffer value)
      • nglGetUniformi64vNV

        public static void nglGetUniformi64vNV​(int program,
                                               int location,
                                               long params)
      • glGetUniformi64vNV

        public static void glGetUniformi64vNV​(int program,
                                              int location,
                                              java.nio.LongBuffer params)
      • glGetUniformi64NV

        public static long glGetUniformi64NV​(int program,
                                             int location)
      • nglGetUniformui64vNV

        public static void nglGetUniformui64vNV​(int program,
                                                int location,
                                                long params)
      • glGetUniformui64vNV

        public static void glGetUniformui64vNV​(int program,
                                               int location,
                                               java.nio.LongBuffer params)
      • glGetUniformui64NV

        public static long glGetUniformui64NV​(int program,
                                              int location)
      • glProgramUniform1i64NV

        public static void glProgramUniform1i64NV​(int program,
                                                  int location,
                                                  long x)
      • glProgramUniform2i64NV

        public static void glProgramUniform2i64NV​(int program,
                                                  int location,
                                                  long x,
                                                  long y)
      • glProgramUniform3i64NV

        public static void glProgramUniform3i64NV​(int program,
                                                  int location,
                                                  long x,
                                                  long y,
                                                  long z)
      • glProgramUniform4i64NV

        public static void glProgramUniform4i64NV​(int program,
                                                  int location,
                                                  long x,
                                                  long y,
                                                  long z,
                                                  long w)
      • nglProgramUniform1i64vNV

        public static void nglProgramUniform1i64vNV​(int program,
                                                    int location,
                                                    int count,
                                                    long value)
      • glProgramUniform1i64vNV

        public static void glProgramUniform1i64vNV​(int program,
                                                   int location,
                                                   java.nio.LongBuffer value)
      • nglProgramUniform2i64vNV

        public static void nglProgramUniform2i64vNV​(int program,
                                                    int location,
                                                    int count,
                                                    long value)
      • glProgramUniform2i64vNV

        public static void glProgramUniform2i64vNV​(int program,
                                                   int location,
                                                   java.nio.LongBuffer value)
      • nglProgramUniform3i64vNV

        public static void nglProgramUniform3i64vNV​(int program,
                                                    int location,
                                                    int count,
                                                    long value)
      • glProgramUniform3i64vNV

        public static void glProgramUniform3i64vNV​(int program,
                                                   int location,
                                                   java.nio.LongBuffer value)
      • nglProgramUniform4i64vNV

        public static void nglProgramUniform4i64vNV​(int program,
                                                    int location,
                                                    int count,
                                                    long value)
      • glProgramUniform4i64vNV

        public static void glProgramUniform4i64vNV​(int program,
                                                   int location,
                                                   java.nio.LongBuffer value)
      • glProgramUniform1ui64NV

        public static void glProgramUniform1ui64NV​(int program,
                                                   int location,
                                                   long x)
      • glProgramUniform2ui64NV

        public static void glProgramUniform2ui64NV​(int program,
                                                   int location,
                                                   long x,
                                                   long y)
      • glProgramUniform3ui64NV

        public static void glProgramUniform3ui64NV​(int program,
                                                   int location,
                                                   long x,
                                                   long y,
                                                   long z)
      • glProgramUniform4ui64NV

        public static void glProgramUniform4ui64NV​(int program,
                                                   int location,
                                                   long x,
                                                   long y,
                                                   long z,
                                                   long w)
      • nglProgramUniform1ui64vNV

        public static void nglProgramUniform1ui64vNV​(int program,
                                                     int location,
                                                     int count,
                                                     long value)
      • glProgramUniform1ui64vNV

        public static void glProgramUniform1ui64vNV​(int program,
                                                    int location,
                                                    java.nio.LongBuffer value)
      • nglProgramUniform2ui64vNV

        public static void nglProgramUniform2ui64vNV​(int program,
                                                     int location,
                                                     int count,
                                                     long value)
      • glProgramUniform2ui64vNV

        public static void glProgramUniform2ui64vNV​(int program,
                                                    int location,
                                                    java.nio.LongBuffer value)
      • nglProgramUniform3ui64vNV

        public static void nglProgramUniform3ui64vNV​(int program,
                                                     int location,
                                                     int count,
                                                     long value)
      • glProgramUniform3ui64vNV

        public static void glProgramUniform3ui64vNV​(int program,
                                                    int location,
                                                    java.nio.LongBuffer value)
      • nglProgramUniform4ui64vNV

        public static void nglProgramUniform4ui64vNV​(int program,
                                                     int location,
                                                     int count,
                                                     long value)
      • glProgramUniform4ui64vNV

        public static void glProgramUniform4ui64vNV​(int program,
                                                    int location,
                                                    java.nio.LongBuffer value)
      • glUniform1i64vNV

        public static void glUniform1i64vNV​(int location,
                                            long[] value)
        Array version of: Uniform1i64vNV
      • glUniform2i64vNV

        public static void glUniform2i64vNV​(int location,
                                            long[] value)
        Array version of: Uniform2i64vNV
      • glUniform3i64vNV

        public static void glUniform3i64vNV​(int location,
                                            long[] value)
        Array version of: Uniform3i64vNV
      • glUniform4i64vNV

        public static void glUniform4i64vNV​(int location,
                                            long[] value)
        Array version of: Uniform4i64vNV
      • glUniform1ui64vNV

        public static void glUniform1ui64vNV​(int location,
                                             long[] value)
        Array version of: Uniform1ui64vNV
      • glUniform2ui64vNV

        public static void glUniform2ui64vNV​(int location,
                                             long[] value)
        Array version of: Uniform2ui64vNV
      • glUniform3ui64vNV

        public static void glUniform3ui64vNV​(int location,
                                             long[] value)
        Array version of: Uniform3ui64vNV
      • glUniform4ui64vNV

        public static void glUniform4ui64vNV​(int location,
                                             long[] value)
        Array version of: Uniform4ui64vNV
      • glGetUniformi64vNV

        public static void glGetUniformi64vNV​(int program,
                                              int location,
                                              long[] params)
        Array version of: GetUniformi64vNV
      • glGetUniformui64vNV

        public static void glGetUniformui64vNV​(int program,
                                               int location,
                                               long[] params)
        Array version of: GetUniformui64vNV
      • glProgramUniform1i64vNV

        public static void glProgramUniform1i64vNV​(int program,
                                                   int location,
                                                   long[] value)
        Array version of: ProgramUniform1i64vNV
      • glProgramUniform2i64vNV

        public static void glProgramUniform2i64vNV​(int program,
                                                   int location,
                                                   long[] value)
        Array version of: ProgramUniform2i64vNV
      • glProgramUniform3i64vNV

        public static void glProgramUniform3i64vNV​(int program,
                                                   int location,
                                                   long[] value)
        Array version of: ProgramUniform3i64vNV
      • glProgramUniform4i64vNV

        public static void glProgramUniform4i64vNV​(int program,
                                                   int location,
                                                   long[] value)
        Array version of: ProgramUniform4i64vNV
      • glProgramUniform1ui64vNV

        public static void glProgramUniform1ui64vNV​(int program,
                                                    int location,
                                                    long[] value)
        Array version of: ProgramUniform1ui64vNV
      • glProgramUniform2ui64vNV

        public static void glProgramUniform2ui64vNV​(int program,
                                                    int location,
                                                    long[] value)
        Array version of: ProgramUniform2ui64vNV
      • glProgramUniform3ui64vNV

        public static void glProgramUniform3ui64vNV​(int program,
                                                    int location,
                                                    long[] value)
        Array version of: ProgramUniform3ui64vNV
      • glProgramUniform4ui64vNV

        public static void glProgramUniform4ui64vNV​(int program,
                                                    int location,
                                                    long[] value)
        Array version of: ProgramUniform4ui64vNV