OpenGLRaw-1.5.0.0: A raw binding for the OpenGL graphics system

Copyright | (c) Sven Panne 2013
License | BSD3
Maintainer | Sven Panne <svenpanne@gmail.com>
Stability | stable
Portability | portable
Safe Haskell | None
Language | Haskell98

Graphics.Rendering.OpenGL.Raw.NV.HalfFloat

Contents

- Functions
- Tokens
- Types

Description

All raw functions, tokens and types from the NV_fragment_program extension, see http://www.opengl.org/registry/specs/NV/fragment_program.txt.

Synopsis

- glVertex2h :: GLhalf -> GLhalf -> IO ()
- glVertex2hv :: Ptr GLhalf -> IO ()
- glVertex3h :: GLhalf -> GLhalf -> GLhalf -> IO ()
- glVertex3hv :: Ptr GLhalf -> IO ()
- glVertex4h :: GLhalf -> GLhalf -> GLhalf -> GLhalf -> IO ()
- glVertex4hv :: Ptr GLhalf -> IO ()
- glNormal3h :: GLhalf -> GLhalf -> GLhalf -> IO ()
- glNormal3hv :: Ptr GLhalf -> IO ()
- glColor3h :: GLhalf -> GLhalf -> GLhalf -> IO ()
- glColor3hv :: Ptr GLhalf -> IO ()
- glColor4h :: GLhalf -> GLhalf -> GLhalf -> GLhalf -> IO ()
- glColor4hv :: Ptr GLhalf -> IO ()
- glTexCoord1h :: GLhalf -> IO ()
- glTexCoord1hv :: Ptr GLhalf -> IO ()
- glTexCoord2h :: GLhalf -> GLhalf -> IO ()
- glTexCoord2hv :: Ptr GLhalf -> IO ()
- glTexCoord3h :: GLhalf -> GLhalf -> GLhalf -> IO ()
- glTexCoord3hv :: Ptr GLhalf -> IO ()
- glTexCoord4h :: GLhalf -> GLhalf -> GLhalf -> GLhalf -> IO ()
- glTexCoord4hv :: Ptr GLhalf -> IO ()
- glMultiTexCoord1h :: GLenum -> GLhalf -> IO ()
- glMultiTexCoord1hv :: GLenum -> Ptr GLhalf -> IO ()
- glMultiTexCoord2h :: GLenum -> GLhalf -> GLhalf -> IO ()
- glMultiTexCoord2hv :: GLenum -> Ptr GLhalf -> IO ()
- glMultiTexCoord3h :: GLenum -> GLhalf -> GLhalf -> GLhalf -> IO ()
- glMultiTexCoord3hv :: GLenum -> Ptr GLhalf -> IO ()
- glMultiTexCoord4h :: GLenum -> GLhalf -> GLhalf -> GLhalf -> GLhalf -> IO ()
- glMultiTexCoord4hv :: GLenum -> Ptr GLhalf -> IO ()
- glFogCoordh :: GLhalf -> IO ()
- glFogCoordhv :: Ptr GLhalf -> IO ()
- glSecondaryColor3h :: GLhalf -> GLhalf -> GLhalf -> IO ()
- glSecondaryColor3hv :: Ptr GLhalf -> IO ()
- glVertexWeighth :: GLhalf -> IO ()
- glVertexWeighthv :: Ptr GLhalf -> IO ()
- glVertexAttrib1h :: GLuint -> GLhalf -> IO ()
- glVertexAttrib1hv :: GLuint -> Ptr GLhalf -> IO ()
- glVertexAttrib2h :: GLuint -> GLhalf -> GLhalf -> IO ()
- glVertexAttrib2hv :: GLuint -> Ptr GLhalf -> IO ()
- glVertexAttrib3h :: GLuint -> GLhalf -> GLhalf -> GLhalf -> IO ()
- glVertexAttrib3hv :: GLuint -> Ptr GLhalf -> IO ()
- glVertexAttrib4h :: GLuint -> GLhalf -> GLhalf -> GLhalf -> GLhalf -> IO ()
- glVertexAttrib4hv :: GLuint -> Ptr GLhalf -> IO ()
- glVertexAttribs1hv :: GLuint -> GLsizei -> Ptr GLhalf -> IO ()
- glVertexAttribs2hv :: GLuint -> GLsizei -> Ptr GLhalf -> IO ()
- glVertexAttribs3hv :: GLuint -> GLsizei -> Ptr GLhalf -> IO ()
- glVertexAttribs4hv :: GLuint -> GLsizei -> Ptr GLhalf -> IO ()
- gl_HALF_FLOAT :: GLenum
- type GLhalf = CUShort

# Functions

glVertex2h :: GLhalf -> GLhalf -> IO ()

glVertex2hv :: Ptr GLhalf -> IO ()

glVertex3h :: GLhalf -> GLhalf -> GLhalf -> IO ()

glVertex3hv :: Ptr GLhalf -> IO ()

glVertex4h :: GLhalf -> GLhalf -> GLhalf -> GLhalf -> IO ()

glVertex4hv :: Ptr GLhalf -> IO ()

glNormal3h :: GLhalf -> GLhalf -> GLhalf -> IO ()

glNormal3hv :: Ptr GLhalf -> IO ()

glColor3h :: GLhalf -> GLhalf -> GLhalf -> IO ()

glColor3hv :: Ptr GLhalf -> IO ()

glColor4h :: GLhalf -> GLhalf -> GLhalf -> GLhalf -> IO ()

glColor4hv :: Ptr GLhalf -> IO ()

glTexCoord1h :: GLhalf -> IO ()

glTexCoord1hv :: Ptr GLhalf -> IO ()

glTexCoord2h :: GLhalf -> GLhalf -> IO ()

glTexCoord2hv :: Ptr GLhalf -> IO ()

glTexCoord3h :: GLhalf -> GLhalf -> GLhalf -> IO ()

glTexCoord3hv :: Ptr GLhalf -> IO ()

glTexCoord4h :: GLhalf -> GLhalf -> GLhalf -> GLhalf -> IO ()

glTexCoord4hv :: Ptr GLhalf -> IO ()

glMultiTexCoord1h :: GLenum -> GLhalf -> IO ()

glMultiTexCoord1hv :: GLenum -> Ptr GLhalf -> IO ()

glMultiTexCoord2h :: GLenum -> GLhalf -> GLhalf -> IO ()

glMultiTexCoord2hv :: GLenum -> Ptr GLhalf -> IO ()

glMultiTexCoord3h :: GLenum -> GLhalf -> GLhalf -> GLhalf -> IO ()

glMultiTexCoord3hv :: GLenum -> Ptr GLhalf -> IO ()

glMultiTexCoord4h :: GLenum -> GLhalf -> GLhalf -> GLhalf -> GLhalf -> IO ()

glMultiTexCoord4hv :: GLenum -> Ptr GLhalf -> IO ()

glFogCoordh :: GLhalf -> IO ()

glFogCoordhv :: Ptr GLhalf -> IO ()

glSecondaryColor3h :: GLhalf -> GLhalf -> GLhalf -> IO ()

glSecondaryColor3hv :: Ptr GLhalf -> IO ()

glVertexWeighth :: GLhalf -> IO ()

glVertexWeighthv :: Ptr GLhalf -> IO ()

glVertexAttrib1h :: GLuint -> GLhalf -> IO ()

glVertexAttrib1hv :: GLuint -> Ptr GLhalf -> IO ()

glVertexAttrib2h :: GLuint -> GLhalf -> GLhalf -> IO ()

glVertexAttrib2hv :: GLuint -> Ptr GLhalf -> IO ()

glVertexAttrib3h :: GLuint -> GLhalf -> GLhalf -> GLhalf -> IO ()

glVertexAttrib3hv :: GLuint -> Ptr GLhalf -> IO ()

glVertexAttrib4h :: GLuint -> GLhalf -> GLhalf -> GLhalf -> GLhalf -> IO ()

glVertexAttrib4hv :: GLuint -> Ptr GLhalf -> IO ()

glVertexAttribs1hv :: GLuint -> GLsizei -> Ptr GLhalf -> IO ()

glVertexAttribs2hv :: GLuint -> GLsizei -> Ptr GLhalf -> IO ()

glVertexAttribs3hv :: GLuint -> GLsizei -> Ptr GLhalf -> IO ()

glVertexAttribs4hv :: GLuint -> GLsizei -> Ptr GLhalf -> IO ()

# Tokens

gl_HALF_FLOAT :: GLenum

# Types

type GLhalf = CUShort

16bit half-precision floating-point value encoded in an unsigned scalar.