gl-0.8.0: Complete OpenGL raw bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Ext.NV.HalfFloat

Contents

Synopsis

Extension Support

gl_NV_half_float :: Bool Source #

Checks that the GL_NV_half_float extension is available.

GL_NV_half_float

glColor3hNV :: MonadIO m => GLhalfNV -> GLhalfNV -> GLhalfNV -> m () Source #

Usage: glColor3hNV red green blue

The parameter red is a Half16NV.

The parameter green is a Half16NV.

The parameter blue is a Half16NV.

The vector equivalent of this command is glColor3hvNV.

glColor3hvNV :: MonadIO m => Ptr GLhalfNV -> m () Source #

Usage: glColor3hvNV v

The parameter v is a Half16NV.

The length of v should be 3.

glColor4hNV :: MonadIO m => GLhalfNV -> GLhalfNV -> GLhalfNV -> GLhalfNV -> m () Source #

Usage: glColor4hNV red green blue alpha

The parameter red is a Half16NV.

The parameter green is a Half16NV.

The parameter blue is a Half16NV.

The parameter alpha is a Half16NV.

The vector equivalent of this command is glColor4hvNV.

glColor4hvNV :: MonadIO m => Ptr GLhalfNV -> m () Source #

Usage: glColor4hvNV v

The parameter v is a Half16NV.

The length of v should be 4.

glFogCoordhNV :: MonadIO m => GLhalfNV -> m () Source #

Usage: glFogCoordhNV fog

The parameter fog is a Half16NV.

The vector equivalent of this command is glFogCoordhvNV.

glFogCoordhvNV :: MonadIO m => Ptr GLhalfNV -> m () Source #

Usage: glFogCoordhvNV fog

The parameter fog is a Half16NV.

The length of fog should be 1.

glMultiTexCoord1hNV :: MonadIO m => GLenum -> GLhalfNV -> m () Source #

Usage: glMultiTexCoord1hNV target s

The parameter target is a TextureUnit.

The parameter s is a Half16NV.

The vector equivalent of this command is glMultiTexCoord1hvNV.

glMultiTexCoord1hvNV :: MonadIO m => GLenum -> Ptr GLhalfNV -> m () Source #

Usage: glMultiTexCoord1hvNV target v

The parameter target is a TextureUnit.

The parameter v is a Half16NV.

The length of v should be 1.

glMultiTexCoord2hNV :: MonadIO m => GLenum -> GLhalfNV -> GLhalfNV -> m () Source #

Usage: glMultiTexCoord2hNV target s t

The parameter target is a TextureUnit.

The parameter s is a Half16NV.

The parameter t is a Half16NV.

The vector equivalent of this command is glMultiTexCoord2hvNV.

glMultiTexCoord2hvNV :: MonadIO m => GLenum -> Ptr GLhalfNV -> m () Source #

Usage: glMultiTexCoord2hvNV target v

The parameter target is a TextureUnit.

The parameter v is a Half16NV.

The length of v should be 2.

glMultiTexCoord3hNV :: MonadIO m => GLenum -> GLhalfNV -> GLhalfNV -> GLhalfNV -> m () Source #

Usage: glMultiTexCoord3hNV target s t r

The parameter target is a TextureUnit.

The parameter s is a Half16NV.

The parameter t is a Half16NV.

The parameter r is a Half16NV.

The vector equivalent of this command is glMultiTexCoord3hvNV.

glMultiTexCoord3hvNV :: MonadIO m => GLenum -> Ptr GLhalfNV -> m () Source #

Usage: glMultiTexCoord3hvNV target v

The parameter target is a TextureUnit.

The parameter v is a Half16NV.

The length of v should be 3.

glMultiTexCoord4hNV :: MonadIO m => GLenum -> GLhalfNV -> GLhalfNV -> GLhalfNV -> GLhalfNV -> m () Source #

Usage: glMultiTexCoord4hNV target s t r q

The parameter target is a TextureUnit.

The parameter s is a Half16NV.

The parameter t is a Half16NV.

The parameter r is a Half16NV.

The parameter q is a Half16NV.

The vector equivalent of this command is glMultiTexCoord4hvNV.

glMultiTexCoord4hvNV :: MonadIO m => GLenum -> Ptr GLhalfNV -> m () Source #

Usage: glMultiTexCoord4hvNV target v

The parameter target is a TextureUnit.

The parameter v is a Half16NV.

The length of v should be 4.

glNormal3hNV :: MonadIO m => GLhalfNV -> GLhalfNV -> GLhalfNV -> m () Source #

Usage: glNormal3hNV nx ny nz

The parameter nx is a Half16NV.

The parameter ny is a Half16NV.

The parameter nz is a Half16NV.

The vector equivalent of this command is glNormal3hvNV.

glNormal3hvNV :: MonadIO m => Ptr GLhalfNV -> m () Source #

Usage: glNormal3hvNV v

The parameter v is a Half16NV.

The length of v should be 3.

glSecondaryColor3hNV :: MonadIO m => GLhalfNV -> GLhalfNV -> GLhalfNV -> m () Source #

Usage: glSecondaryColor3hNV red green blue

The parameter red is a Half16NV.

The parameter green is a Half16NV.

The parameter blue is a Half16NV.

The vector equivalent of this command is glSecondaryColor3hvNV.

glSecondaryColor3hvNV :: MonadIO m => Ptr GLhalfNV -> m () Source #

Usage: glSecondaryColor3hvNV v

The parameter v is a Half16NV.

The length of v should be 3.

glTexCoord1hNV :: MonadIO m => GLhalfNV -> m () Source #

Usage: glTexCoord1hNV s

The parameter s is a Half16NV.

The vector equivalent of this command is glTexCoord1hvNV.

glTexCoord1hvNV :: MonadIO m => Ptr GLhalfNV -> m () Source #

Usage: glTexCoord1hvNV v

The parameter v is a Half16NV.

The length of v should be 1.

glTexCoord2hNV :: MonadIO m => GLhalfNV -> GLhalfNV -> m () Source #

Usage: glTexCoord2hNV s t

The parameter s is a Half16NV.

The parameter t is a Half16NV.

The vector equivalent of this command is glTexCoord2hvNV.

glTexCoord2hvNV :: MonadIO m => Ptr GLhalfNV -> m () Source #

Usage: glTexCoord2hvNV v

The parameter v is a Half16NV.

The length of v should be 2.

glTexCoord3hNV :: MonadIO m => GLhalfNV -> GLhalfNV -> GLhalfNV -> m () Source #

Usage: glTexCoord3hNV s t r

The parameter s is a Half16NV.

The parameter t is a Half16NV.

The parameter r is a Half16NV.

The vector equivalent of this command is glTexCoord3hvNV.

glTexCoord3hvNV :: MonadIO m => Ptr GLhalfNV -> m () Source #

Usage: glTexCoord3hvNV v

The parameter v is a Half16NV.

The length of v should be 3.

glTexCoord4hNV :: MonadIO m => GLhalfNV -> GLhalfNV -> GLhalfNV -> GLhalfNV -> m () Source #

Usage: glTexCoord4hNV s t r q

The parameter s is a Half16NV.

The parameter t is a Half16NV.

The parameter r is a Half16NV.

The parameter q is a Half16NV.

The vector equivalent of this command is glTexCoord4hvNV.

glTexCoord4hvNV :: MonadIO m => Ptr GLhalfNV -> m () Source #

Usage: glTexCoord4hvNV v

The parameter v is a Half16NV.

The length of v should be 4.

glVertex2hNV :: MonadIO m => GLhalfNV -> GLhalfNV -> m () Source #

Usage: glVertex2hNV x y

The parameter x is a Half16NV.

The parameter y is a Half16NV.

The vector equivalent of this command is glVertex2hvNV.

glVertex2hvNV :: MonadIO m => Ptr GLhalfNV -> m () Source #

Usage: glVertex2hvNV v

The parameter v is a Half16NV.

The length of v should be 2.

glVertex3hNV :: MonadIO m => GLhalfNV -> GLhalfNV -> GLhalfNV -> m () Source #

Usage: glVertex3hNV x y z

The parameter x is a Half16NV.

The parameter y is a Half16NV.

The parameter z is a Half16NV.

The vector equivalent of this command is glVertex3hvNV.

glVertex3hvNV :: MonadIO m => Ptr GLhalfNV -> m () Source #

Usage: glVertex3hvNV v

The parameter v is a Half16NV.

The length of v should be 3.

glVertex4hNV :: MonadIO m => GLhalfNV -> GLhalfNV -> GLhalfNV -> GLhalfNV -> m () Source #

Usage: glVertex4hNV x y z w

The parameter x is a Half16NV.

The parameter y is a Half16NV.

The parameter z is a Half16NV.

The parameter w is a Half16NV.

The vector equivalent of this command is glVertex4hvNV.

glVertex4hvNV :: MonadIO m => Ptr GLhalfNV -> m () Source #

Usage: glVertex4hvNV v

The parameter v is a Half16NV.

The length of v should be 4.

glVertexAttrib1hNV :: MonadIO m => GLuint -> GLhalfNV -> m () Source #

Usage: glVertexAttrib1hNV index x

The parameter x is a Half16NV.

The vector equivalent of this command is glVertexAttrib1hvNV.

glVertexAttrib1hvNV :: MonadIO m => GLuint -> Ptr GLhalfNV -> m () Source #

Usage: glVertexAttrib1hvNV index v

The parameter v is a Half16NV.

The length of v should be 1.

glVertexAttrib2hNV :: MonadIO m => GLuint -> GLhalfNV -> GLhalfNV -> m () Source #

Usage: glVertexAttrib2hNV index x y

The parameter x is a Half16NV.

The parameter y is a Half16NV.

The vector equivalent of this command is glVertexAttrib2hvNV.

glVertexAttrib2hvNV :: MonadIO m => GLuint -> Ptr GLhalfNV -> m () Source #

Usage: glVertexAttrib2hvNV index v

The parameter v is a Half16NV.

The length of v should be 2.

glVertexAttrib3hNV :: MonadIO m => GLuint -> GLhalfNV -> GLhalfNV -> GLhalfNV -> m () Source #

Usage: glVertexAttrib3hNV index x y z

The parameter x is a Half16NV.

The parameter y is a Half16NV.

The parameter z is a Half16NV.

The vector equivalent of this command is glVertexAttrib3hvNV.

glVertexAttrib3hvNV :: MonadIO m => GLuint -> Ptr GLhalfNV -> m () Source #

Usage: glVertexAttrib3hvNV index v

The parameter v is a Half16NV.

The length of v should be 3.

glVertexAttrib4hNV :: MonadIO m => GLuint -> GLhalfNV -> GLhalfNV -> GLhalfNV -> GLhalfNV -> m () Source #

Usage: glVertexAttrib4hNV index x y z w

The parameter x is a Half16NV.

The parameter y is a Half16NV.

The parameter z is a Half16NV.

The parameter w is a Half16NV.

The vector equivalent of this command is glVertexAttrib4hvNV.

glVertexAttrib4hvNV :: MonadIO m => GLuint -> Ptr GLhalfNV -> m () Source #

Usage: glVertexAttrib4hvNV index v

The parameter v is a Half16NV.

The length of v should be 4.

glVertexAttribs1hvNV :: MonadIO m => GLuint -> GLsizei -> Ptr GLhalfNV -> m () Source #

Usage: glVertexAttribs1hvNV index n v

The parameter v is a Half16NV.

The length of v should be n.

glVertexAttribs2hvNV :: MonadIO m => GLuint -> GLsizei -> Ptr GLhalfNV -> m () Source #

Usage: glVertexAttribs2hvNV index n v

The parameter v is a Half16NV.

The length of v should be n.

glVertexAttribs3hvNV :: MonadIO m => GLuint -> GLsizei -> Ptr GLhalfNV -> m () Source #

Usage: glVertexAttribs3hvNV index n v

The parameter v is a Half16NV.

The length of v should be n.

glVertexAttribs4hvNV :: MonadIO m => GLuint -> GLsizei -> Ptr GLhalfNV -> m () Source #

Usage: glVertexAttribs4hvNV index n v

The parameter v is a Half16NV.

The length of v should be n.

glVertexWeighthNV :: MonadIO m => GLhalfNV -> m () Source #

Usage: glVertexWeighthNV weight

The parameter weight is a Half16NV.

The vector equivalent of this command is glVertexWeighthvNV.

glVertexWeighthvNV :: MonadIO m => Ptr GLhalfNV -> m () Source #

Usage: glVertexWeighthvNV weight

The parameter weight is a Half16NV.

The length of weight should be 1.

pattern GL_HALF_FLOAT_NV :: forall a. (Num a, Eq a) => a Source #