public class NVHalfFloat
extends java.lang.Object
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.
| Modifier and Type | Field and Description |
|---|---|
static 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. |
| Modifier and Type | Method and Description |
|---|---|
static void |
glColor3hNV(short red,
short green,
short blue) |
static void |
glColor3hvNV(short[] v)
Array version of:
Color3hvNV |
static void |
glColor3hvNV(java.nio.ShortBuffer v) |
static void |
glColor4hNV(short red,
short green,
short blue,
short alpha) |
static void |
glColor4hvNV(short[] v)
Array version of:
Color4hvNV |
static void |
glColor4hvNV(java.nio.ShortBuffer v) |
static void |
glFogCoordhNV(short fog) |
static void |
glFogCoordhvNV(short[] fog)
Array version of:
FogCoordhvNV |
static void |
glFogCoordhvNV(java.nio.ShortBuffer fog) |
static void |
glMultiTexCoord1hNV(int target,
short s) |
static void |
glMultiTexCoord1hvNV(int target,
short[] v)
Array version of:
MultiTexCoord1hvNV |
static void |
glMultiTexCoord1hvNV(int target,
java.nio.ShortBuffer v) |
static void |
glMultiTexCoord2hNV(int target,
short s,
short t) |
static void |
glMultiTexCoord2hvNV(int target,
short[] v)
Array version of:
MultiTexCoord2hvNV |
static void |
glMultiTexCoord2hvNV(int target,
java.nio.ShortBuffer v) |
static void |
glMultiTexCoord3hNV(int target,
short s,
short t,
short r) |
static void |
glMultiTexCoord3hvNV(int target,
short[] v)
Array version of:
MultiTexCoord3hvNV |
static void |
glMultiTexCoord3hvNV(int target,
java.nio.ShortBuffer v) |
static void |
glMultiTexCoord4hNV(int target,
short s,
short t,
short r,
short q) |
static void |
glMultiTexCoord4hvNV(int target,
short[] v)
Array version of:
MultiTexCoord4hvNV |
static void |
glMultiTexCoord4hvNV(int target,
java.nio.ShortBuffer v) |
static void |
glNormal3hNV(short nx,
short ny,
short nz) |
static void |
glNormal3hvNV(short[] v)
Array version of:
Normal3hvNV |
static void |
glNormal3hvNV(java.nio.ShortBuffer v) |
static void |
glSecondaryColor3hNV(short red,
short green,
short blue) |
static void |
glSecondaryColor3hvNV(short[] v)
Array version of:
SecondaryColor3hvNV |
static void |
glSecondaryColor3hvNV(java.nio.ShortBuffer v) |
static void |
glTexCoord1hNV(short s) |
static void |
glTexCoord1hvNV(short[] v)
Array version of:
TexCoord1hvNV |
static void |
glTexCoord1hvNV(java.nio.ShortBuffer v) |
static void |
glTexCoord2hNV(short s,
short t) |
static void |
glTexCoord2hvNV(short[] v)
Array version of:
TexCoord2hvNV |
static void |
glTexCoord2hvNV(java.nio.ShortBuffer v) |
static void |
glTexCoord3hNV(short s,
short t,
short r) |
static void |
glTexCoord3hvNV(short[] v)
Array version of:
TexCoord3hvNV |
static void |
glTexCoord3hvNV(java.nio.ShortBuffer v) |
static void |
glTexCoord4hNV(short s,
short t,
short r,
short q) |
static void |
glTexCoord4hvNV(short[] v)
Array version of:
TexCoord4hvNV |
static void |
glTexCoord4hvNV(java.nio.ShortBuffer v) |
static void |
glVertex2hNV(short x,
short y) |
static void |
glVertex2hvNV(short[] v)
Array version of:
Vertex2hvNV |
static void |
glVertex2hvNV(java.nio.ShortBuffer v) |
static void |
glVertex3hNV(short x,
short y,
short z) |
static void |
glVertex3hvNV(short[] v)
Array version of:
Vertex3hvNV |
static void |
glVertex3hvNV(java.nio.ShortBuffer v) |
static void |
glVertex4hNV(short x,
short y,
short z,
short w) |
static void |
glVertex4hvNV(short[] v)
Array version of:
Vertex4hvNV |
static void |
glVertex4hvNV(java.nio.ShortBuffer v) |
static void |
glVertexAttrib1hNV(int index,
short x) |
static void |
glVertexAttrib1hvNV(int index,
short[] v)
Array version of:
VertexAttrib1hvNV |
static void |
glVertexAttrib1hvNV(int index,
java.nio.ShortBuffer v) |
static void |
glVertexAttrib2hNV(int index,
short x,
short y) |
static void |
glVertexAttrib2hvNV(int index,
short[] v)
Array version of:
VertexAttrib2hvNV |
static void |
glVertexAttrib2hvNV(int index,
java.nio.ShortBuffer v) |
static void |
glVertexAttrib3hNV(int index,
short x,
short y,
short z) |
static void |
glVertexAttrib3hvNV(int index,
short[] v)
Array version of:
VertexAttrib3hvNV |
static void |
glVertexAttrib3hvNV(int index,
java.nio.ShortBuffer v) |
static void |
glVertexAttrib4hNV(int index,
short x,
short y,
short z,
short w) |
static void |
glVertexAttrib4hvNV(int index,
short[] v)
Array version of:
VertexAttrib4hvNV |
static void |
glVertexAttrib4hvNV(int index,
java.nio.ShortBuffer v) |
static void |
glVertexAttribs1hvNV(int index,
short[] v)
Array version of:
VertexAttribs1hvNV |
static void |
glVertexAttribs1hvNV(int index,
java.nio.ShortBuffer v) |
static void |
glVertexAttribs2hvNV(int index,
short[] v)
Array version of:
VertexAttribs2hvNV |
static void |
glVertexAttribs2hvNV(int index,
java.nio.ShortBuffer v) |
static void |
glVertexAttribs3hvNV(int index,
short[] v)
Array version of:
VertexAttribs3hvNV |
static void |
glVertexAttribs3hvNV(int index,
java.nio.ShortBuffer v) |
static void |
glVertexAttribs4hvNV(int index,
short[] v)
Array version of:
VertexAttribs4hvNV |
static void |
glVertexAttribs4hvNV(int index,
java.nio.ShortBuffer v) |
static void |
glVertexWeighthNV(short weight) |
static void |
glVertexWeighthvNV(short[] weight)
Array version of:
VertexWeighthvNV |
static void |
glVertexWeighthvNV(java.nio.ShortBuffer weight) |
static void |
nglColor3hvNV(long v) |
static void |
nglColor4hvNV(long v) |
static void |
nglFogCoordhvNV(long fog) |
static void |
nglMultiTexCoord1hvNV(int target,
long v) |
static void |
nglMultiTexCoord2hvNV(int target,
long v) |
static void |
nglMultiTexCoord3hvNV(int target,
long v) |
static void |
nglMultiTexCoord4hvNV(int target,
long v) |
static void |
nglNormal3hvNV(long v) |
static void |
nglSecondaryColor3hvNV(long v) |
static void |
nglTexCoord1hvNV(long v) |
static void |
nglTexCoord2hvNV(long v) |
static void |
nglTexCoord3hvNV(long v) |
static void |
nglTexCoord4hvNV(long v) |
static void |
nglVertex2hvNV(long v) |
static void |
nglVertex3hvNV(long v) |
static void |
nglVertex4hvNV(long v) |
static void |
nglVertexAttrib1hvNV(int index,
long v) |
static void |
nglVertexAttrib2hvNV(int index,
long v) |
static void |
nglVertexAttrib3hvNV(int index,
long v) |
static void |
nglVertexAttrib4hvNV(int index,
long v) |
static void |
nglVertexAttribs1hvNV(int index,
int n,
long v) |
static void |
nglVertexAttribs2hvNV(int index,
int n,
long v) |
static void |
nglVertexAttribs3hvNV(int index,
int n,
long v) |
static void |
nglVertexAttribs4hvNV(int index,
int n,
long v) |
static void |
nglVertexWeighthvNV(long weight) |
public static final int GL_HALF_FLOAT_NV
type argument of VertexPointer, NormalPointer, ColorPointer, TexCoordPointer, FogCoordPointerEXT, SecondaryColorPointerEXT,
VertexWeightPointerEXT, VertexAttribPointerNV, DrawPixels, ReadPixels, TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D,
and GetTexImage.public static void glVertex2hNV(short x,
short y)
public static void nglVertex2hvNV(long v)
public static void glVertex2hvNV(java.nio.ShortBuffer v)
public static void glVertex3hNV(short x,
short y,
short z)
public static void nglVertex3hvNV(long v)
public static void glVertex3hvNV(java.nio.ShortBuffer v)
public static void glVertex4hNV(short x,
short y,
short z,
short w)
public static void nglVertex4hvNV(long v)
public static void glVertex4hvNV(java.nio.ShortBuffer v)
public static void glNormal3hNV(short nx,
short ny,
short nz)
public static void nglNormal3hvNV(long v)
public static void glNormal3hvNV(java.nio.ShortBuffer v)
public static void glColor3hNV(short red,
short green,
short blue)
public static void nglColor3hvNV(long v)
public static void glColor3hvNV(java.nio.ShortBuffer v)
public static void glColor4hNV(short red,
short green,
short blue,
short alpha)
public static void nglColor4hvNV(long v)
public static void glColor4hvNV(java.nio.ShortBuffer v)
public static void glTexCoord1hNV(short s)
public static void nglTexCoord1hvNV(long v)
public static void glTexCoord1hvNV(java.nio.ShortBuffer v)
public static void glTexCoord2hNV(short s,
short t)
public static void nglTexCoord2hvNV(long v)
public static void glTexCoord2hvNV(java.nio.ShortBuffer v)
public static void glTexCoord3hNV(short s,
short t,
short r)
public static void nglTexCoord3hvNV(long v)
public static void glTexCoord3hvNV(java.nio.ShortBuffer v)
public static void glTexCoord4hNV(short s,
short t,
short r,
short q)
public static void nglTexCoord4hvNV(long v)
public static void glTexCoord4hvNV(java.nio.ShortBuffer v)
public static void glMultiTexCoord1hNV(int target,
short s)
public static void nglMultiTexCoord1hvNV(int target,
long v)
public static void glMultiTexCoord1hvNV(int target,
java.nio.ShortBuffer v)
public static void glMultiTexCoord2hNV(int target,
short s,
short t)
public static void nglMultiTexCoord2hvNV(int target,
long v)
public static void glMultiTexCoord2hvNV(int target,
java.nio.ShortBuffer v)
public static void glMultiTexCoord3hNV(int target,
short s,
short t,
short r)
public static void nglMultiTexCoord3hvNV(int target,
long v)
public static void glMultiTexCoord3hvNV(int target,
java.nio.ShortBuffer v)
public static void glMultiTexCoord4hNV(int target,
short s,
short t,
short r,
short q)
public static void nglMultiTexCoord4hvNV(int target,
long v)
public static void glMultiTexCoord4hvNV(int target,
java.nio.ShortBuffer v)
public static void glFogCoordhNV(short fog)
public static void nglFogCoordhvNV(long fog)
public static void glFogCoordhvNV(java.nio.ShortBuffer fog)
public static void glSecondaryColor3hNV(short red,
short green,
short blue)
public static void nglSecondaryColor3hvNV(long v)
public static void glSecondaryColor3hvNV(java.nio.ShortBuffer v)
public static void glVertexWeighthNV(short weight)
public static void nglVertexWeighthvNV(long weight)
public static void glVertexWeighthvNV(java.nio.ShortBuffer weight)
public static void glVertexAttrib1hNV(int index,
short x)
public static void nglVertexAttrib1hvNV(int index,
long v)
public static void glVertexAttrib1hvNV(int index,
java.nio.ShortBuffer v)
public static void glVertexAttrib2hNV(int index,
short x,
short y)
public static void nglVertexAttrib2hvNV(int index,
long v)
public static void glVertexAttrib2hvNV(int index,
java.nio.ShortBuffer v)
public static void glVertexAttrib3hNV(int index,
short x,
short y,
short z)
public static void nglVertexAttrib3hvNV(int index,
long v)
public static void glVertexAttrib3hvNV(int index,
java.nio.ShortBuffer v)
public static void glVertexAttrib4hNV(int index,
short x,
short y,
short z,
short w)
public static void nglVertexAttrib4hvNV(int index,
long v)
public static void glVertexAttrib4hvNV(int index,
java.nio.ShortBuffer v)
public static void nglVertexAttribs1hvNV(int index,
int n,
long v)
public static void glVertexAttribs1hvNV(int index,
java.nio.ShortBuffer v)
public static void nglVertexAttribs2hvNV(int index,
int n,
long v)
public static void glVertexAttribs2hvNV(int index,
java.nio.ShortBuffer v)
public static void nglVertexAttribs3hvNV(int index,
int n,
long v)
public static void glVertexAttribs3hvNV(int index,
java.nio.ShortBuffer v)
public static void nglVertexAttribs4hvNV(int index,
int n,
long v)
public static void glVertexAttribs4hvNV(int index,
java.nio.ShortBuffer v)
public static void glVertex2hvNV(short[] v)
Vertex2hvNVpublic static void glVertex3hvNV(short[] v)
Vertex3hvNVpublic static void glVertex4hvNV(short[] v)
Vertex4hvNVpublic static void glNormal3hvNV(short[] v)
Normal3hvNVpublic static void glColor3hvNV(short[] v)
Color3hvNVpublic static void glColor4hvNV(short[] v)
Color4hvNVpublic static void glTexCoord1hvNV(short[] v)
TexCoord1hvNVpublic static void glTexCoord2hvNV(short[] v)
TexCoord2hvNVpublic static void glTexCoord3hvNV(short[] v)
TexCoord3hvNVpublic static void glTexCoord4hvNV(short[] v)
TexCoord4hvNVpublic static void glMultiTexCoord1hvNV(int target,
short[] v)
MultiTexCoord1hvNVpublic static void glMultiTexCoord2hvNV(int target,
short[] v)
MultiTexCoord2hvNVpublic static void glMultiTexCoord3hvNV(int target,
short[] v)
MultiTexCoord3hvNVpublic static void glMultiTexCoord4hvNV(int target,
short[] v)
MultiTexCoord4hvNVpublic static void glFogCoordhvNV(short[] fog)
FogCoordhvNVpublic static void glSecondaryColor3hvNV(short[] v)
SecondaryColor3hvNVpublic static void glVertexWeighthvNV(short[] weight)
VertexWeighthvNVpublic static void glVertexAttrib1hvNV(int index,
short[] v)
VertexAttrib1hvNVpublic static void glVertexAttrib2hvNV(int index,
short[] v)
VertexAttrib2hvNVpublic static void glVertexAttrib3hvNV(int index,
short[] v)
VertexAttrib3hvNVpublic static void glVertexAttrib4hvNV(int index,
short[] v)
VertexAttrib4hvNVpublic static void glVertexAttribs1hvNV(int index,
short[] v)
VertexAttribs1hvNVpublic static void glVertexAttribs2hvNV(int index,
short[] v)
VertexAttribs2hvNVpublic static void glVertexAttribs3hvNV(int index,
short[] v)
VertexAttribs3hvNVpublic static void glVertexAttribs4hvNV(int index,
short[] v)
VertexAttribs4hvNVCopyright LWJGL. All Rights Reserved. License terms.