OpenGL-3.0.3.0: A binding for the OpenGL graphics system

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

Instances details

RasterPosComponent GLdouble Source # |
Instance details 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 # |
Instance details 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 # |
Instance details 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 # |
Instance details 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 #

Methods

rasterPos :: a -> IO () Source #

rasterPosv :: Ptr a -> IO () Source #

#### Instances

Instances details

RasterPosComponent a => RasterPos (Vertex2 a) Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.RasterPos Methods rasterPos :: Vertex2 a -> IO () Source # rasterPosv :: Ptr (Vertex2 a) -> IO () Source #
RasterPosComponent a => RasterPos (Vertex3 a) Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.RasterPos Methods rasterPos :: Vertex3 a -> IO () Source # rasterPosv :: Ptr (Vertex3 a) -> IO () Source #
RasterPosComponent a => RasterPos (Vertex4 a) Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.RasterPos Methods rasterPos :: Vertex4 a -> IO () Source # rasterPosv :: Ptr (Vertex4 a) -> IO () Source #

class WindowPosComponent a Source #

Minimal complete definition

windowPos2, windowPos3, windowPos2v, windowPos3v

#### Instances

Instances details

WindowPosComponent GLdouble Source # |
Instance details 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 # |
Instance details 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 # |
Instance details 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 # |
Instance details 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 #

Methods

windowPos :: a -> IO () Source #

windowPosv :: Ptr a -> IO () Source #

#### Instances

Instances details

WindowPosComponent a => WindowPos (Vertex2 a) Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.RasterPos Methods windowPos :: Vertex2 a -> IO () Source # windowPosv :: Ptr (Vertex2 a) -> IO () Source #
WindowPosComponent a => WindowPos (Vertex3 a) Source # |
Instance details Defined in Graphics.Rendering.OpenGL.GL.RasterPos Methods windowPos :: Vertex3 a -> IO () Source # windowPosv :: Ptr (Vertex3 a) -> IO () Source #

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 #