Copyright | (c) Sven Panne 2002-2019 |
---|---|
License | BSD3 |
Maintainer | Sven Panne <svenpanne@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Graphics.Rendering.OpenGL.GL.RasterPos
Description
This module corresponds to section 2.13 (Current Raster Position) of the OpenGL 2.1 specs.
Documentation
currentRasterPosition :: StateVar (Vertex4 GLfloat) Source #
class RasterPosComponent a Source #
Minimal complete definition
rasterPos2, rasterPos3, rasterPos4, rasterPos2v, rasterPos3v, rasterPos4v
Instances
RasterPosComponent GLdouble Source # | |
Defined in Graphics.Rendering.OpenGL.GL.RasterPos Methods rasterPos2 :: GLdouble -> GLdouble -> IO () rasterPos3 :: GLdouble -> GLdouble -> GLdouble -> IO () rasterPos4 :: GLdouble -> GLdouble -> GLdouble -> GLdouble -> IO () rasterPos2v :: Ptr GLdouble -> IO () rasterPos3v :: Ptr GLdouble -> IO () rasterPos4v :: Ptr GLdouble -> IO () | |
RasterPosComponent GLfloat Source # | |
Defined in Graphics.Rendering.OpenGL.GL.RasterPos Methods rasterPos2 :: GLfloat -> GLfloat -> IO () rasterPos3 :: GLfloat -> GLfloat -> GLfloat -> IO () rasterPos4 :: GLfloat -> GLfloat -> GLfloat -> GLfloat -> IO () rasterPos2v :: Ptr GLfloat -> IO () rasterPos3v :: Ptr GLfloat -> IO () rasterPos4v :: Ptr GLfloat -> IO () | |
RasterPosComponent GLint Source # | |
Defined in Graphics.Rendering.OpenGL.GL.RasterPos Methods rasterPos2 :: GLint -> GLint -> IO () rasterPos3 :: GLint -> GLint -> GLint -> IO () rasterPos4 :: GLint -> GLint -> GLint -> GLint -> IO () rasterPos2v :: Ptr GLint -> IO () rasterPos3v :: Ptr GLint -> IO () rasterPos4v :: Ptr GLint -> IO () | |
RasterPosComponent GLshort Source # | |
Defined in Graphics.Rendering.OpenGL.GL.RasterPos Methods rasterPos2 :: GLshort -> GLshort -> IO () rasterPos3 :: GLshort -> GLshort -> GLshort -> IO () rasterPos4 :: GLshort -> GLshort -> GLshort -> GLshort -> IO () rasterPos2v :: Ptr GLshort -> IO () rasterPos3v :: Ptr GLshort -> IO () rasterPos4v :: Ptr GLshort -> IO () |
class RasterPos a where Source #
Instances
RasterPosComponent a => RasterPos (Vertex4 a) Source # | |
Defined in Graphics.Rendering.OpenGL.GL.RasterPos | |
RasterPosComponent a => RasterPos (Vertex3 a) Source # | |
Defined in Graphics.Rendering.OpenGL.GL.RasterPos | |
RasterPosComponent a => RasterPos (Vertex2 a) Source # | |
Defined in Graphics.Rendering.OpenGL.GL.RasterPos |
class WindowPosComponent a Source #
Minimal complete definition
windowPos2, windowPos3, windowPos2v, windowPos3v
Instances
WindowPosComponent GLdouble Source # | |
Defined in Graphics.Rendering.OpenGL.GL.RasterPos Methods windowPos2 :: GLdouble -> GLdouble -> IO () windowPos3 :: GLdouble -> GLdouble -> GLdouble -> IO () windowPos2v :: Ptr GLdouble -> IO () windowPos3v :: Ptr GLdouble -> IO () | |
WindowPosComponent GLfloat Source # | |
Defined in Graphics.Rendering.OpenGL.GL.RasterPos Methods windowPos2 :: GLfloat -> GLfloat -> IO () windowPos3 :: GLfloat -> GLfloat -> GLfloat -> IO () windowPos2v :: Ptr GLfloat -> IO () windowPos3v :: Ptr GLfloat -> IO () | |
WindowPosComponent GLint Source # | |
Defined in Graphics.Rendering.OpenGL.GL.RasterPos Methods windowPos2 :: GLint -> GLint -> IO () windowPos3 :: GLint -> GLint -> GLint -> IO () windowPos2v :: Ptr GLint -> IO () windowPos3v :: Ptr GLint -> IO () | |
WindowPosComponent GLshort Source # | |
Defined in Graphics.Rendering.OpenGL.GL.RasterPos Methods windowPos2 :: GLshort -> GLshort -> IO () windowPos3 :: GLshort -> GLshort -> GLshort -> IO () windowPos2v :: Ptr GLshort -> IO () windowPos3v :: Ptr GLshort -> IO () |
class WindowPos a where Source #
Instances
WindowPosComponent a => WindowPos (Vertex3 a) Source # | |
Defined in Graphics.Rendering.OpenGL.GL.RasterPos | |
WindowPosComponent a => WindowPos (Vertex2 a) Source # | |
Defined in Graphics.Rendering.OpenGL.GL.RasterPos |
currentRasterDistance :: GettableStateVar GLfloat Source #
currentRasterColor :: GettableStateVar (Color4 GLfloat) Source #
currentRasterSecondaryColor :: GettableStateVar (Color4 GLfloat) Source #
currentRasterIndex :: GettableStateVar (Index1 GLint) Source #
currentRasterTexCoords :: GettableStateVar (TexCoord4 GLfloat) Source #
currentRasterPositionValid :: GettableStateVar Bool Source #
rasterPositionUnclipped :: StateVar Capability Source #