Class NVHalfFloat
- java.lang.Object
-
- org.lwjgl.opengl.NVHalfFloat
-
public class NVHalfFloat extends java.lang.ObjectNative 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 Summary
Fields Modifier and Type Field Description static intGL_HALF_FLOAT_NVAccepted by thetypeargument of VertexPointer, NormalPointer, ColorPointer, TexCoordPointer, FogCoordPointerEXT, SecondaryColorPointerEXT, VertexWeightPointerEXT, VertexAttribPointerNV, DrawPixels, ReadPixels, TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, and GetTexImage.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidglColor3hNV(short red, short green, short blue)static voidglColor3hvNV(short[] v)Array version of:Color3hvNVstatic voidglColor3hvNV(java.nio.ShortBuffer v)static voidglColor4hNV(short red, short green, short blue, short alpha)static voidglColor4hvNV(short[] v)Array version of:Color4hvNVstatic voidglColor4hvNV(java.nio.ShortBuffer v)static voidglFogCoordhNV(short fog)static voidglFogCoordhvNV(short[] fog)Array version of:FogCoordhvNVstatic voidglFogCoordhvNV(java.nio.ShortBuffer fog)static voidglMultiTexCoord1hNV(int target, short s)static voidglMultiTexCoord1hvNV(int target, short[] v)Array version of:MultiTexCoord1hvNVstatic voidglMultiTexCoord1hvNV(int target, java.nio.ShortBuffer v)static voidglMultiTexCoord2hNV(int target, short s, short t)static voidglMultiTexCoord2hvNV(int target, short[] v)Array version of:MultiTexCoord2hvNVstatic voidglMultiTexCoord2hvNV(int target, java.nio.ShortBuffer v)static voidglMultiTexCoord3hNV(int target, short s, short t, short r)static voidglMultiTexCoord3hvNV(int target, short[] v)Array version of:MultiTexCoord3hvNVstatic voidglMultiTexCoord3hvNV(int target, java.nio.ShortBuffer v)static voidglMultiTexCoord4hNV(int target, short s, short t, short r, short q)static voidglMultiTexCoord4hvNV(int target, short[] v)Array version of:MultiTexCoord4hvNVstatic voidglMultiTexCoord4hvNV(int target, java.nio.ShortBuffer v)static voidglNormal3hNV(short nx, short ny, short nz)static voidglNormal3hvNV(short[] v)Array version of:Normal3hvNVstatic voidglNormal3hvNV(java.nio.ShortBuffer v)static voidglSecondaryColor3hNV(short red, short green, short blue)static voidglSecondaryColor3hvNV(short[] v)Array version of:SecondaryColor3hvNVstatic voidglSecondaryColor3hvNV(java.nio.ShortBuffer v)static voidglTexCoord1hNV(short s)static voidglTexCoord1hvNV(short[] v)Array version of:TexCoord1hvNVstatic voidglTexCoord1hvNV(java.nio.ShortBuffer v)static voidglTexCoord2hNV(short s, short t)static voidglTexCoord2hvNV(short[] v)Array version of:TexCoord2hvNVstatic voidglTexCoord2hvNV(java.nio.ShortBuffer v)static voidglTexCoord3hNV(short s, short t, short r)static voidglTexCoord3hvNV(short[] v)Array version of:TexCoord3hvNVstatic voidglTexCoord3hvNV(java.nio.ShortBuffer v)static voidglTexCoord4hNV(short s, short t, short r, short q)static voidglTexCoord4hvNV(short[] v)Array version of:TexCoord4hvNVstatic voidglTexCoord4hvNV(java.nio.ShortBuffer v)static voidglVertex2hNV(short x, short y)static voidglVertex2hvNV(short[] v)Array version of:Vertex2hvNVstatic voidglVertex2hvNV(java.nio.ShortBuffer v)static voidglVertex3hNV(short x, short y, short z)static voidglVertex3hvNV(short[] v)Array version of:Vertex3hvNVstatic voidglVertex3hvNV(java.nio.ShortBuffer v)static voidglVertex4hNV(short x, short y, short z, short w)static voidglVertex4hvNV(short[] v)Array version of:Vertex4hvNVstatic voidglVertex4hvNV(java.nio.ShortBuffer v)static voidglVertexAttrib1hNV(int index, short x)static voidglVertexAttrib1hvNV(int index, short[] v)Array version of:VertexAttrib1hvNVstatic voidglVertexAttrib1hvNV(int index, java.nio.ShortBuffer v)static voidglVertexAttrib2hNV(int index, short x, short y)static voidglVertexAttrib2hvNV(int index, short[] v)Array version of:VertexAttrib2hvNVstatic voidglVertexAttrib2hvNV(int index, java.nio.ShortBuffer v)static voidglVertexAttrib3hNV(int index, short x, short y, short z)static voidglVertexAttrib3hvNV(int index, short[] v)Array version of:VertexAttrib3hvNVstatic voidglVertexAttrib3hvNV(int index, java.nio.ShortBuffer v)static voidglVertexAttrib4hNV(int index, short x, short y, short z, short w)static voidglVertexAttrib4hvNV(int index, short[] v)Array version of:VertexAttrib4hvNVstatic voidglVertexAttrib4hvNV(int index, java.nio.ShortBuffer v)static voidglVertexAttribs1hvNV(int index, short[] v)Array version of:VertexAttribs1hvNVstatic voidglVertexAttribs1hvNV(int index, java.nio.ShortBuffer v)static voidglVertexAttribs2hvNV(int index, short[] v)Array version of:VertexAttribs2hvNVstatic voidglVertexAttribs2hvNV(int index, java.nio.ShortBuffer v)static voidglVertexAttribs3hvNV(int index, short[] v)Array version of:VertexAttribs3hvNVstatic voidglVertexAttribs3hvNV(int index, java.nio.ShortBuffer v)static voidglVertexAttribs4hvNV(int index, short[] v)Array version of:VertexAttribs4hvNVstatic voidglVertexAttribs4hvNV(int index, java.nio.ShortBuffer v)static voidglVertexWeighthNV(short weight)static voidglVertexWeighthvNV(short[] weight)Array version of:VertexWeighthvNVstatic voidglVertexWeighthvNV(java.nio.ShortBuffer weight)static voidnglColor3hvNV(long v)static voidnglColor4hvNV(long v)static voidnglFogCoordhvNV(long fog)static voidnglMultiTexCoord1hvNV(int target, long v)static voidnglMultiTexCoord2hvNV(int target, long v)static voidnglMultiTexCoord3hvNV(int target, long v)static voidnglMultiTexCoord4hvNV(int target, long v)static voidnglNormal3hvNV(long v)static voidnglSecondaryColor3hvNV(long v)static voidnglTexCoord1hvNV(long v)static voidnglTexCoord2hvNV(long v)static voidnglTexCoord3hvNV(long v)static voidnglTexCoord4hvNV(long v)static voidnglVertex2hvNV(long v)static voidnglVertex3hvNV(long v)static voidnglVertex4hvNV(long v)static voidnglVertexAttrib1hvNV(int index, long v)static voidnglVertexAttrib2hvNV(int index, long v)static voidnglVertexAttrib3hvNV(int index, long v)static voidnglVertexAttrib4hvNV(int index, long v)static voidnglVertexAttribs1hvNV(int index, int n, long v)static voidnglVertexAttribs2hvNV(int index, int n, long v)static voidnglVertexAttribs3hvNV(int index, int n, long v)static voidnglVertexAttribs4hvNV(int index, int n, long v)static voidnglVertexWeighthvNV(long weight)
-
-
-
Field Detail
-
GL_HALF_FLOAT_NV
public static final int GL_HALF_FLOAT_NV
Accepted by thetypeargument 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)
-
nglVertex2hvNV
public static void nglVertex2hvNV(long v)
-
glVertex2hvNV
public static void glVertex2hvNV(java.nio.ShortBuffer v)
-
glVertex3hNV
public static void glVertex3hNV(short x, short y, short z)
-
nglVertex3hvNV
public static void nglVertex3hvNV(long v)
-
glVertex3hvNV
public static void glVertex3hvNV(java.nio.ShortBuffer v)
-
glVertex4hNV
public static void glVertex4hNV(short x, short y, short z, short w)
-
nglVertex4hvNV
public static void nglVertex4hvNV(long v)
-
glVertex4hvNV
public static void glVertex4hvNV(java.nio.ShortBuffer v)
-
glNormal3hNV
public static void glNormal3hNV(short nx, short ny, short nz)
-
nglNormal3hvNV
public static void nglNormal3hvNV(long v)
-
glNormal3hvNV
public static void glNormal3hvNV(java.nio.ShortBuffer v)
-
glColor3hNV
public static void glColor3hNV(short red, short green, short blue)
-
nglColor3hvNV
public static void nglColor3hvNV(long v)
-
glColor3hvNV
public static void glColor3hvNV(java.nio.ShortBuffer v)
-
glColor4hNV
public static void glColor4hNV(short red, short green, short blue, short alpha)
-
nglColor4hvNV
public static void nglColor4hvNV(long v)
-
glColor4hvNV
public static void glColor4hvNV(java.nio.ShortBuffer v)
-
glTexCoord1hNV
public static void glTexCoord1hNV(short s)
-
nglTexCoord1hvNV
public static void nglTexCoord1hvNV(long v)
-
glTexCoord1hvNV
public static void glTexCoord1hvNV(java.nio.ShortBuffer v)
-
glTexCoord2hNV
public static void glTexCoord2hNV(short s, short t)
-
nglTexCoord2hvNV
public static void nglTexCoord2hvNV(long v)
-
glTexCoord2hvNV
public static void glTexCoord2hvNV(java.nio.ShortBuffer v)
-
glTexCoord3hNV
public static void glTexCoord3hNV(short s, short t, short r)
-
nglTexCoord3hvNV
public static void nglTexCoord3hvNV(long v)
-
glTexCoord3hvNV
public static void glTexCoord3hvNV(java.nio.ShortBuffer v)
-
glTexCoord4hNV
public static void glTexCoord4hNV(short s, short t, short r, short q)
-
nglTexCoord4hvNV
public static void nglTexCoord4hvNV(long v)
-
glTexCoord4hvNV
public static void glTexCoord4hvNV(java.nio.ShortBuffer v)
-
glMultiTexCoord1hNV
public static void glMultiTexCoord1hNV(int target, short s)
-
nglMultiTexCoord1hvNV
public static void nglMultiTexCoord1hvNV(int target, long v)
-
glMultiTexCoord1hvNV
public static void glMultiTexCoord1hvNV(int target, java.nio.ShortBuffer v)
-
glMultiTexCoord2hNV
public static void glMultiTexCoord2hNV(int target, short s, short t)
-
nglMultiTexCoord2hvNV
public static void nglMultiTexCoord2hvNV(int target, long v)
-
glMultiTexCoord2hvNV
public static void glMultiTexCoord2hvNV(int target, java.nio.ShortBuffer v)
-
glMultiTexCoord3hNV
public static void glMultiTexCoord3hNV(int target, short s, short t, short r)
-
nglMultiTexCoord3hvNV
public static void nglMultiTexCoord3hvNV(int target, long v)
-
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)
-
nglMultiTexCoord4hvNV
public static void nglMultiTexCoord4hvNV(int target, long v)
-
glMultiTexCoord4hvNV
public static void glMultiTexCoord4hvNV(int target, java.nio.ShortBuffer v)
-
glFogCoordhNV
public static void glFogCoordhNV(short fog)
-
nglFogCoordhvNV
public static void nglFogCoordhvNV(long fog)
-
glFogCoordhvNV
public static void glFogCoordhvNV(java.nio.ShortBuffer fog)
-
glSecondaryColor3hNV
public static void glSecondaryColor3hNV(short red, short green, short blue)
-
nglSecondaryColor3hvNV
public static void nglSecondaryColor3hvNV(long v)
-
glSecondaryColor3hvNV
public static void glSecondaryColor3hvNV(java.nio.ShortBuffer v)
-
glVertexWeighthNV
public static void glVertexWeighthNV(short weight)
-
nglVertexWeighthvNV
public static void nglVertexWeighthvNV(long weight)
-
glVertexWeighthvNV
public static void glVertexWeighthvNV(java.nio.ShortBuffer weight)
-
glVertexAttrib1hNV
public static void glVertexAttrib1hNV(int index, short x)
-
nglVertexAttrib1hvNV
public static void nglVertexAttrib1hvNV(int index, long v)
-
glVertexAttrib1hvNV
public static void glVertexAttrib1hvNV(int index, java.nio.ShortBuffer v)
-
glVertexAttrib2hNV
public static void glVertexAttrib2hNV(int index, short x, short y)
-
nglVertexAttrib2hvNV
public static void nglVertexAttrib2hvNV(int index, long v)
-
glVertexAttrib2hvNV
public static void glVertexAttrib2hvNV(int index, java.nio.ShortBuffer v)
-
glVertexAttrib3hNV
public static void glVertexAttrib3hNV(int index, short x, short y, short z)
-
nglVertexAttrib3hvNV
public static void nglVertexAttrib3hvNV(int index, long v)
-
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)
-
nglVertexAttrib4hvNV
public static void nglVertexAttrib4hvNV(int index, long v)
-
glVertexAttrib4hvNV
public static void glVertexAttrib4hvNV(int index, java.nio.ShortBuffer v)
-
nglVertexAttribs1hvNV
public static void nglVertexAttribs1hvNV(int index, int n, long v)
-
glVertexAttribs1hvNV
public static void glVertexAttribs1hvNV(int index, java.nio.ShortBuffer v)
-
nglVertexAttribs2hvNV
public static void nglVertexAttribs2hvNV(int index, int n, long v)
-
glVertexAttribs2hvNV
public static void glVertexAttribs2hvNV(int index, java.nio.ShortBuffer v)
-
nglVertexAttribs3hvNV
public static void nglVertexAttribs3hvNV(int index, int n, long v)
-
glVertexAttribs3hvNV
public static void glVertexAttribs3hvNV(int index, java.nio.ShortBuffer v)
-
nglVertexAttribs4hvNV
public static void nglVertexAttribs4hvNV(int index, int n, long 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
-
-