Class NVHalfFloat



  • public class NVHalfFloat
    extends java.lang.Object
    Native bindings to the NV_half_float extension.

    This extension introduces a new storage format and data type for half-precision (16-bit) floating-point quantities. The floating-point format is very similar to the IEEE single-precision floating-point standard, except that it has only 5 exponent bits and 10 mantissa bits. Half-precision floats are smaller than full precision floats and provide a larger dynamic range than similarly-sized normalized scalar data types.

    This extension allows applications to use half-precision floating point data when specifying vertices or pixel data. It adds new commands to specify vertex attributes using the new data type, and extends the existing vertex array and image specification commands to accept the new data type.

    This storage format is also used to represent 16-bit components in the floating-point frame buffers, as defined in the NV_float_buffer extension.

    • Field Detail

      • GL_HALF_FLOAT_NV

        public static final int GL_HALF_FLOAT_NV
        Accepted by the type argument of VertexPointer, NormalPointer, ColorPointer, TexCoordPointer, FogCoordPointerEXT, SecondaryColorPointerEXT, VertexWeightPointerEXT, VertexAttribPointerNV, DrawPixels, ReadPixels, TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, and GetTexImage.
        See Also:
        Constant Field Values
    • Method Detail

      • glVertex2hNV

        public static void glVertex2hNV(short x,
                                        short y)
      • glVertex2hvNV

        public static void glVertex2hvNV(java.nio.ShortBuffer v)
      • glVertex3hNV

        public static void glVertex3hNV(short x,
                                        short y,
                                        short z)
      • glVertex3hvNV

        public static void glVertex3hvNV(java.nio.ShortBuffer v)
      • glVertex4hNV

        public static void glVertex4hNV(short x,
                                        short y,
                                        short z,
                                        short w)
      • glVertex4hvNV

        public static void glVertex4hvNV(java.nio.ShortBuffer v)
      • glNormal3hNV

        public static void glNormal3hNV(short nx,
                                        short ny,
                                        short nz)
      • glNormal3hvNV

        public static void glNormal3hvNV(java.nio.ShortBuffer v)
      • glColor3hNV

        public static void glColor3hNV(short red,
                                       short green,
                                       short blue)
      • glColor3hvNV

        public static void glColor3hvNV(java.nio.ShortBuffer v)
      • glColor4hNV

        public static void glColor4hNV(short red,
                                       short green,
                                       short blue,
                                       short alpha)
      • glColor4hvNV

        public static void glColor4hvNV(java.nio.ShortBuffer v)
      • glTexCoord1hNV

        public static void glTexCoord1hNV(short s)
      • glTexCoord1hvNV

        public static void glTexCoord1hvNV(java.nio.ShortBuffer v)
      • glTexCoord2hNV

        public static void glTexCoord2hNV(short s,
                                          short t)
      • glTexCoord2hvNV

        public static void glTexCoord2hvNV(java.nio.ShortBuffer v)
      • glTexCoord3hNV

        public static void glTexCoord3hNV(short s,
                                          short t,
                                          short r)
      • glTexCoord3hvNV

        public static void glTexCoord3hvNV(java.nio.ShortBuffer v)
      • glTexCoord4hNV

        public static void glTexCoord4hNV(short s,
                                          short t,
                                          short r,
                                          short q)
      • glTexCoord4hvNV

        public static void glTexCoord4hvNV(java.nio.ShortBuffer v)
      • glMultiTexCoord1hNV

        public static void glMultiTexCoord1hNV(int target,
                                               short s)
      • glMultiTexCoord1hvNV

        public static void glMultiTexCoord1hvNV(int target,
                                                java.nio.ShortBuffer v)
      • glMultiTexCoord2hNV

        public static void glMultiTexCoord2hNV(int target,
                                               short s,
                                               short t)
      • glMultiTexCoord2hvNV

        public static void glMultiTexCoord2hvNV(int target,
                                                java.nio.ShortBuffer v)
      • glMultiTexCoord3hNV

        public static void glMultiTexCoord3hNV(int target,
                                               short s,
                                               short t,
                                               short r)
      • glMultiTexCoord3hvNV

        public static void glMultiTexCoord3hvNV(int target,
                                                java.nio.ShortBuffer v)
      • glMultiTexCoord4hNV

        public static void glMultiTexCoord4hNV(int target,
                                               short s,
                                               short t,
                                               short r,
                                               short q)
      • glMultiTexCoord4hvNV

        public static void glMultiTexCoord4hvNV(int target,
                                                java.nio.ShortBuffer v)
      • glFogCoordhNV

        public static void glFogCoordhNV(short fog)
      • glFogCoordhvNV

        public static void glFogCoordhvNV(java.nio.ShortBuffer fog)
      • glSecondaryColor3hNV

        public static void glSecondaryColor3hNV(short red,
                                                short green,
                                                short blue)
      • glSecondaryColor3hvNV

        public static void glSecondaryColor3hvNV(java.nio.ShortBuffer v)
      • glVertexWeighthNV

        public static void glVertexWeighthNV(short weight)
      • glVertexWeighthvNV

        public static void glVertexWeighthvNV(java.nio.ShortBuffer weight)
      • glVertexAttrib1hNV

        public static void glVertexAttrib1hNV(int index,
                                              short x)
      • glVertexAttrib1hvNV

        public static void glVertexAttrib1hvNV(int index,
                                               java.nio.ShortBuffer v)
      • glVertexAttrib2hNV

        public static void glVertexAttrib2hNV(int index,
                                              short x,
                                              short y)
      • glVertexAttrib2hvNV

        public static void glVertexAttrib2hvNV(int index,
                                               java.nio.ShortBuffer v)
      • glVertexAttrib3hNV

        public static void glVertexAttrib3hNV(int index,
                                              short x,
                                              short y,
                                              short z)
      • glVertexAttrib3hvNV

        public static void glVertexAttrib3hvNV(int index,
                                               java.nio.ShortBuffer v)
      • glVertexAttrib4hNV

        public static void glVertexAttrib4hNV(int index,
                                              short x,
                                              short y,
                                              short z,
                                              short w)
      • glVertexAttrib4hvNV

        public static void glVertexAttrib4hvNV(int index,
                                               java.nio.ShortBuffer v)
      • glVertexAttribs1hvNV

        public static void glVertexAttribs1hvNV(int index,
                                                java.nio.ShortBuffer v)
      • glVertexAttribs2hvNV

        public static void glVertexAttribs2hvNV(int index,
                                                java.nio.ShortBuffer v)
      • glVertexAttribs3hvNV

        public static void glVertexAttribs3hvNV(int index,
                                                java.nio.ShortBuffer v)
      • glVertexAttribs4hvNV

        public static void glVertexAttribs4hvNV(int index,
                                                java.nio.ShortBuffer v)
      • glVertex2hvNV

        public static void glVertex2hvNV(short[] v)
        Array version of: Vertex2hvNV
      • glVertex3hvNV

        public static void glVertex3hvNV(short[] v)
        Array version of: Vertex3hvNV
      • glVertex4hvNV

        public static void glVertex4hvNV(short[] v)
        Array version of: Vertex4hvNV
      • glNormal3hvNV

        public static void glNormal3hvNV(short[] v)
        Array version of: Normal3hvNV
      • glColor3hvNV

        public static void glColor3hvNV(short[] v)
        Array version of: Color3hvNV
      • glColor4hvNV

        public static void glColor4hvNV(short[] v)
        Array version of: Color4hvNV
      • glTexCoord1hvNV

        public static void glTexCoord1hvNV(short[] v)
        Array version of: TexCoord1hvNV
      • glTexCoord2hvNV

        public static void glTexCoord2hvNV(short[] v)
        Array version of: TexCoord2hvNV
      • glTexCoord3hvNV

        public static void glTexCoord3hvNV(short[] v)
        Array version of: TexCoord3hvNV
      • glTexCoord4hvNV

        public static void glTexCoord4hvNV(short[] v)
        Array version of: TexCoord4hvNV
      • glMultiTexCoord1hvNV

        public static void glMultiTexCoord1hvNV(int target,
                                                short[] v)
        Array version of: MultiTexCoord1hvNV
      • glMultiTexCoord2hvNV

        public static void glMultiTexCoord2hvNV(int target,
                                                short[] v)
        Array version of: MultiTexCoord2hvNV
      • glMultiTexCoord3hvNV

        public static void glMultiTexCoord3hvNV(int target,
                                                short[] v)
        Array version of: MultiTexCoord3hvNV
      • glMultiTexCoord4hvNV

        public static void glMultiTexCoord4hvNV(int target,
                                                short[] v)
        Array version of: MultiTexCoord4hvNV
      • glFogCoordhvNV

        public static void glFogCoordhvNV(short[] fog)
        Array version of: FogCoordhvNV
      • glSecondaryColor3hvNV

        public static void glSecondaryColor3hvNV(short[] v)
        Array version of: SecondaryColor3hvNV
      • glVertexWeighthvNV

        public static void glVertexWeighthvNV(short[] weight)
        Array version of: VertexWeighthvNV
      • glVertexAttrib1hvNV

        public static void glVertexAttrib1hvNV(int index,
                                               short[] v)
        Array version of: VertexAttrib1hvNV
      • glVertexAttrib2hvNV

        public static void glVertexAttrib2hvNV(int index,
                                               short[] v)
        Array version of: VertexAttrib2hvNV
      • glVertexAttrib3hvNV

        public static void glVertexAttrib3hvNV(int index,
                                               short[] v)
        Array version of: VertexAttrib3hvNV
      • glVertexAttrib4hvNV

        public static void glVertexAttrib4hvNV(int index,
                                               short[] v)
        Array version of: VertexAttrib4hvNV
      • glVertexAttribs1hvNV

        public static void glVertexAttribs1hvNV(int index,
                                                short[] v)
        Array version of: VertexAttribs1hvNV
      • glVertexAttribs2hvNV

        public static void glVertexAttribs2hvNV(int index,
                                                short[] v)
        Array version of: VertexAttribs2hvNV
      • glVertexAttribs3hvNV

        public static void glVertexAttribs3hvNV(int index,
                                                short[] v)
        Array version of: VertexAttribs3hvNV
      • glVertexAttribs4hvNV

        public static void glVertexAttribs4hvNV(int index,
                                                short[] v)
        Array version of: VertexAttribs4hvNV