OpenGL-3.0.3.0: A binding for the OpenGL graphics system
Copyright(c) Sven Panne 2002-2019
LicenseBSD3
MaintainerSven Panne <svenpanne@gmail.com>
Stabilitystable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Graphics.Rendering.OpenGL.GL.RasterPos

Description

This module corresponds to section 2.13 (Current Raster Position) of the OpenGL 2.1 specs.

Documentation

class RasterPosComponent a #

Minimal complete definition

rasterPos2, rasterPos3, rasterPos4, rasterPos2v, rasterPos3v, rasterPos4v

class RasterPos a where #

Methods

rasterPos :: a -> IO () #

rasterPosv :: Ptr a -> IO () #

Instances

Instances details
RasterPosComponent a => RasterPos (Vertex4 a) # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.RasterPos

Methods

rasterPos :: Vertex4 a -> IO () #

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

RasterPosComponent a => RasterPos (Vertex3 a) # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.RasterPos

Methods

rasterPos :: Vertex3 a -> IO () #

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

RasterPosComponent a => RasterPos (Vertex2 a) # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.RasterPos

Methods

rasterPos :: Vertex2 a -> IO () #

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

class WindowPosComponent a #

Minimal complete definition

windowPos2, windowPos3, windowPos2v, windowPos3v

class WindowPos a where #

Methods

windowPos :: a -> IO () #

windowPosv :: Ptr a -> IO () #

Instances

Instances details
WindowPosComponent a => WindowPos (Vertex3 a) # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.RasterPos

Methods

windowPos :: Vertex3 a -> IO () #

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

WindowPosComponent a => WindowPos (Vertex2 a) # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.RasterPos

Methods

windowPos :: Vertex2 a -> IO () #

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