GLUT-2.7.0.16: A binding for the OpenGL Utility Toolkit
Copyright(c) Sven Panne 2002-2018
LicenseBSD3
MaintainerSven Panne <svenpanne@gmail.com>
Stabilitystable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Graphics.UI.GLUT

Description

A Haskell binding for GLUT, the OpenGL Utility Toolkit, a window system independent toolkit for writing OpenGL programs. It includes support for the extended functionality available in freeglut (see http://freeglut.sourceforge.net/) and OpenGLUT (see http://openglut.sourceforge.net/), too.

Synopsis

Legal stuff

This documentation is heavily based on the man pages of Mark J. Kilgard's GLUT library.

OpenGL is a trademark of Silicon Graphics, Inc. X Window System is a trademark of X Consortium, Inc. Spaceball is a registered trademark of Spatial Systems, Inc.

The author has taken care in preparation of this documentation but makes no expressed or implied warranty of any kind and assumes no responsibility for errors or omissions. No liability is assumed for incidental or consequential damages in connection with or arising from the use of information or programs contained herein.

Introduction

The OpenGL Utility Toolkit (GLUT) is a programming interface for writing window system independent OpenGL programs. Currently there are implementations for the X Window System, the Windows family, OS/2, and Mac. The toolkit supports the following functionality:

  • Multiple windows for OpenGL rendering.
  • Callback driven event processing.
  • Sophisticated input devices.
  • An idle routine and timers.
  • A simple, cascading pop-up menu facility.
  • Utility routines to generate various solid and wire frame objects.
  • Support for bitmap and stroke fonts.
  • Miscellaneous window management functions, including managing overlays.

This documentation serves as both a specification and a programming guide. If you are interested in a brief introduction to programming with GLUT, have a look at the relevant parts of http://www.opengl.org/ and the vast amount of books on OpenGL, most of them use GLUT.

The remainder of this section describes GLUT's design philosophy and usage model. The following sections specify the GLUT routines, grouped by functionality. The final sections discuss usage advice and the logical programmer visible state maintained by GLUT.

Background

One of the major accomplishments in the specification of OpenGL was the isolation of window system dependencies from OpenGL's rendering model. The result is that OpenGL is window system independent.

Window system operations such as the creation of a rendering window and the handling of window system events are left to the native window system to define. Necessary interactions between OpenGL and the window system such as creating and binding an OpenGL context to a window are described separately from the OpenGL specification in a window system dependent specification. For example, the GLX specification describes the standard by which OpenGL interacts with the X Window System.

The predecessor to OpenGL is IRIS GL. Unlike OpenGL, IRIS GL does specify how rendering windows are created and manipulated. IRIS GL's windowing interface is reasonably popular largely because it is simple to use. IRIS GL programmers can worry about graphics programming without needing to be an expert in programming the native window system. Experience also demonstrated that IRIS GL's windowing interface was high-level enough that it could be retargeted to different window systems. Silicon Graphics migrated from NeWS to the X Window System without any major changes to IRIS GL's basic windowing interface.

Removing window system operations from OpenGL is a sound decision because it allows the OpenGL graphics system to be retargeted to various systems including powerful but expensive graphics workstations as well as mass-production graphics systems like video games, set-top boxes for interactive television, and PCs.

Unfortunately, the lack of a window system interface for OpenGL is a gap in OpenGL's utility. Learning native window system APIs such as the X Window System's Xlib or Motif can be daunting. Even those familiar with native window system APIs need to understand the interface that binds OpenGL to the native window system. And when an OpenGL program is written using the native window system interface, despite the portability of the program's OpenGL rendering code, the program itself will be window system dependent.

Testing and documenting OpenGL's functionality lead to the development of the tk and aux toolkits. The aux toolkit is used in the examples found in the OpenGL Programming Guide. Unfortunately, aux has numerous limitations and its utility is largely limited to toy programs. The tk library has more functionality than aux but was developed in an ad hoc fashion and still lacks much important functionality that IRIS GL programmers expect, like pop-up menus and overlays.

GLUT is designed to fill the need for a window system independent programming interface for OpenGL programs. The interface is designed to be simple yet still meet the needs of useful OpenGL programs. Features from the IRIS GL, aux, and tk interfaces are included to make it easy for programmers used to these interfaces to develop programs for GLUT.

Design Philosophy

GLUT simplifies the implementation of programs using OpenGL rendering. The GLUT application programming interface (API) requires very few routines to display a graphics scene rendered using OpenGL. The GLUT API (like the OpenGL API) is stateful. Most initial GLUT state is defined and the initial state is reasonable for simple programs. The GLUT routines also take relatively few parameters.

The GLUT API is (as much as reasonable) window system independent. For this reason, GLUT does not return any native window system handles, pointers, or other data structures. More subtle window system dependencies such as reliance on window system dependent fonts are avoided by GLUT; instead, GLUT supplies its own (limited) set of fonts.

For programming ease, GLUT provides a simple menu sub-API. While the menuing support is designed to be implemented as pop-up menus, GLUT gives window system leeway to support the menu functionality in another manner (pull-down menus for example).

Two of the most important pieces of GLUT state are the current window and current menu. Most window and menu routines affect the current window or menu respectively. Most callbacks implicitly set the current window and menu to the appropriate window or menu responsible for the callback. GLUT is designed so that a program with only a single window and/or menu will not need to keep track of any window or menu identifiers. This greatly simplifies very simple GLUT programs.

GLUT is designed for simple to moderately complex programs focused on OpenGL rendering. GLUT implements its own event loop. For this reason, mixing GLUT with other APIs that demand their own event handling structure may be difficult. The advantage of a builtin event dispatch loop is simplicity.

GLUT contains routines for rendering fonts and geometric objects, however GLUT makes no claims on the OpenGL display list name space. For this reason, none of the GLUT rendering routines use OpenGL display lists. It is up to the GLUT programmer to compile the output from GLUT rendering routines into display lists if this is desired.

GLUT routines are logically organized into several sub-APIs according to their functionality. The sub-APIs are:

  • Initialization: Command line processing, window system initialization, and initial window creation state are controlled by these routines.
  • Beginning Event Processing: This routine enters GLUT's event processing loop. This routine never returns, and it continuously calls GLUT callbacks as necessary.
  • Window Management: These routines create and control windows.
  • Overlay Management: These routines establish and manage overlays for windows.
  • Menu Management: These routines create and control pop-up menus.
  • Callback Registration: These routines register callbacks to be called by the GLUT event processing loop.
  • Color Index Colormap Management: These routines allow the manipulation of color index colormaps for windows.
  • State Retrieval: These routines allows programs to retrieve state from GLUT.
  • Font Rendering: These routines allow rendering of stroke and bitmap fonts.
  • Geometric Shape Rendering: These routines allow the rendering of 3D geometric objects including spheres, cones, icosahedrons, and teapots.
  • Debugging: This routine reports any pending GL errors.
  • Device Control: These routines allow setting the key repeat and polling the joystick.
  • Game Mode: These routines allow programs to enter/leave a full-screen mode with specified properties.

API Versions

The GLUT API has undergone several revisions with increasing functionality. This Haskell binding provides access to everything in API version 4, although it is not yet officially finalized. Nevertheless, it provides very useful things like handling full-screen modes and special keys.

Conventions

GLUT window and screen coordinates are expressed in pixels. The upper left hand corner of the screen or a window is (0,0). X coordinates increase in a rightward direction; Y coordinates increase in a downward direction. Note: This is inconsistent with OpenGL's coordinate scheme that generally considers the lower left hand coordinate of a window to be at (0,0) but is consistent with most popular window systems.

Terminology

A number of terms are used in a GLUT-specific manner throughout this document. The GLUT meaning of these terms is independent of the window system GLUT is used with. Here are GLUT-specific meanings for the following GLUT-specific terms:

  • Callback: A programmer specified routine that can be registered with GLUT to be called in response to a specific type of event. Also used to refer to a specific callback routine being called.
  • Colormap: A mapping of pixel values to RGB color values. Used by color index windows.
  • Dials and button box: A sophisticated input device consisting of a pad of buttons and an array of rotating dials, often used by computer-aided design programs.
  • Display mode: A set of OpenGL frame buffer capabilities that can be attributed to a window.
  • Idle: A state when no window system events are received for processing as callbacks and the idle callback, if one is registered, is called.
  • Layer in use: Either the normal plane or overlay. This per-window state determines what frame buffer layer OpenGL commands affect.
  • Menu entry: A menu item that the user can select to trigger the menu callback for the menu entry's value.
  • Menu item: Either a menu entry or a sub-menu trigger.
  • Modifiers: The Shift, Ctrl, and Alt keys that can be held down simultaneously with a key or mouse button being pressed or released.
  • Multisampling: A technique for hardware antialiasing generally available only on expensive 3D graphics hardware. Each pixel is composed of a number of samples (each containing color and depth information). The samples are averaged to determine the displayed pixel color value. Multisampling is supported as an extension to OpenGL.
  • Normal plane: The default frame buffer layer where GLUT window state resides; as opposed to the overlay.
  • Overlay: A frame buffer layer that can be displayed preferentially to the normal plane and supports transparency to display through to the normal plane. Overlays are useful for rubber-banding effects, text annotation, and other operations, to avoid damaging the normal plane frame buffer state. Overlays require hardware support not present on all systems.
  • Pop: The act of forcing a window to the top of the stacking order for sibling windows.
  • Pop-up menu: A menu that can be set to appear when a specified mouse button is pressed in a window. A pop-menu consists of multiple menu items.
  • Push: The act of forcing a window to the bottom of the stacking order for sibling windows.
  • Reshape: The act of changing the size or shape of the window.
  • Spaceball: A sophisticated 3D input device that provides six degrees of freedom, three axes of rotation and three axes of translation. It also supports a number of buttons. The device is a hand-sized ball attached to a base. By cupping the ball with one's hand and applying torsional or directional force on the ball, rotations and translationsare generated.
  • Stereo: A frame buffer capability providing left and right color buffers for creating stereoscopic renderings. Typically, the user wears LCD shuttered goggles synchronized with the alternating display on the screen of the left and right color buffers.
  • Sub-menu: A menu cascaded from some sub-menu trigger.
  • Sub-menu trigger: A menu item that the user can enter to cascade another pop-up menu.
  • Subwindow: A type of window that is the child window of a top-level window or other subwindow. The drawing and visible region of a subwindow is limited by its parent window.
  • Tablet: A precise 2D input device. Like a mouse, 2D coordinates are returned. The absolute position of the tablet "puck" on the tablet is returned. Tablets also support a number of buttons.
  • Timer: A callback that can be scheduled to be called in a specified interval of time.
  • Top-level window: A window that can be placed, moved, resized, etc. independently from other top-level windows by the user. Subwindows may reside within a top-level window.
  • Window: A rectangular area for OpenGL rendering.
  • Window display state: One of shown, hidden, or iconified. A shown window is potentially visible on the screen (it may be obscured by other windows and not actually visible). A hidden window will never be visible. An iconified window is not visible but could be made visible in response to some user action like clicking on the window's corresponding icon.
  • Window system: A broad notion that refers to both the mechanism and policy of the window system. For example, in the X Window System both the window manager and the X server are integral to what GLUT considers the window system.

data StateVar a #

Constructors

StateVar (IO a) (a -> IO ()) 

Instances

Instances details
HasGetter (StateVar a) a 
Instance details

Defined in Data.StateVar

Methods

get :: MonadIO m => StateVar a -> m a #

HasSetter (StateVar a) a 
Instance details

Defined in Data.StateVar

Methods

($=) :: MonadIO m => StateVar a -> a -> m () #

HasUpdate (StateVar a) a a 
Instance details

Defined in Data.StateVar

Methods

($~) :: MonadIO m => StateVar a -> (a -> a) -> m () #

($~!) :: MonadIO m => StateVar a -> (a -> a) -> m () #

class ObjectName a where #

Minimal complete definition

isObjectName, (deleteObjectName | deleteObjectNames)

Methods

isObjectName :: MonadIO m => a -> m Bool #

deleteObjectName :: MonadIO m => a -> m () #

deleteObjectNames :: MonadIO m => [a] -> m () #

Instances

Instances details
ObjectName BufferObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.BufferObjects

Methods

isObjectName :: MonadIO m => BufferObject -> m Bool #

deleteObjectName :: MonadIO m => BufferObject -> m () #

deleteObjectNames :: MonadIO m => [BufferObject] -> m () #

ObjectName DisplayList 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.DisplayLists

Methods

isObjectName :: MonadIO m => DisplayList -> m Bool #

deleteObjectName :: MonadIO m => DisplayList -> m () #

deleteObjectNames :: MonadIO m => [DisplayList] -> m () #

ObjectName FramebufferObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.FramebufferObjects.FramebufferObject

Methods

isObjectName :: MonadIO m => FramebufferObject -> m Bool #

deleteObjectName :: MonadIO m => FramebufferObject -> m () #

deleteObjectNames :: MonadIO m => [FramebufferObject] -> m () #

ObjectName RenderbufferObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.FramebufferObjects.RenderbufferObject

Methods

isObjectName :: MonadIO m => RenderbufferObject -> m Bool #

deleteObjectName :: MonadIO m => RenderbufferObject -> m () #

deleteObjectNames :: MonadIO m => [RenderbufferObject] -> m () #

ObjectName QueryObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.QueryObject

Methods

isObjectName :: MonadIO m => QueryObject -> m Bool #

deleteObjectName :: MonadIO m => QueryObject -> m () #

deleteObjectNames :: MonadIO m => [QueryObject] -> m () #

ObjectName Program 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Program

Methods

isObjectName :: MonadIO m => Program -> m Bool #

deleteObjectName :: MonadIO m => Program -> m () #

deleteObjectNames :: MonadIO m => [Program] -> m () #

ObjectName Shader 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Shader

Methods

isObjectName :: MonadIO m => Shader -> m Bool #

deleteObjectName :: MonadIO m => Shader -> m () #

deleteObjectNames :: MonadIO m => [Shader] -> m () #

ObjectName SyncObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.SyncObjects

Methods

isObjectName :: MonadIO m => SyncObject -> m Bool #

deleteObjectName :: MonadIO m => SyncObject -> m () #

deleteObjectNames :: MonadIO m => [SyncObject] -> m () #

ObjectName TextureObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureObject

Methods

isObjectName :: MonadIO m => TextureObject -> m Bool #

deleteObjectName :: MonadIO m => TextureObject -> m () #

deleteObjectNames :: MonadIO m => [TextureObject] -> m () #

ObjectName VertexArrayObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexArrayObjects

Methods

isObjectName :: MonadIO m => VertexArrayObject -> m Bool #

deleteObjectName :: MonadIO m => VertexArrayObject -> m () #

deleteObjectNames :: MonadIO m => [VertexArrayObject] -> m () #

makeStateVar :: IO a -> (a -> IO ()) -> StateVar a #

newtype SettableStateVar a #

Constructors

SettableStateVar (a -> IO ()) 

Instances

Instances details
Contravariant SettableStateVar 
Instance details

Defined in Data.StateVar

HasSetter (SettableStateVar a) a 
Instance details

Defined in Data.StateVar

Methods

($=) :: MonadIO m => SettableStateVar a -> a -> m () #

data Position #

Constructors

Position !GLint !GLint 

Instances

Instances details
Show Position 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.CoordTrans

Methods

showsPrec :: Int -> Position -> ShowS

show :: Position -> String

showList :: [Position] -> ShowS

Eq Position 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.CoordTrans

Methods

(==) :: Position -> Position -> Bool

(/=) :: Position -> Position -> Bool

Ord Position 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.CoordTrans

Methods

compare :: Position -> Position -> Ordering

(<) :: Position -> Position -> Bool

(<=) :: Position -> Position -> Bool

(>) :: Position -> Position -> Bool

(>=) :: Position -> Position -> Bool

max :: Position -> Position -> Position

min :: Position -> Position -> Position

data Size #

Constructors

Size !GLsizei !GLsizei 

Instances

Instances details
Show Size 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.CoordTrans

Methods

showsPrec :: Int -> Size -> ShowS

show :: Size -> String

showList :: [Size] -> ShowS

Eq Size 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.CoordTrans

Methods

(==) :: Size -> Size -> Bool

(/=) :: Size -> Size -> Bool

Ord Size 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.CoordTrans

Methods

compare :: Size -> Size -> Ordering

(<) :: Size -> Size -> Bool

(<=) :: Size -> Size -> Bool

(>) :: Size -> Size -> Bool

(>=) :: Size -> Size -> Bool

max :: Size -> Size -> Size

min :: Size -> Size -> Size

newtype Index1 a #

Constructors

Index1 a 

Instances

Instances details
ControlPoint Index1 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.ControlPoint

Methods

map1Target :: Domain d => Index1 d -> GLenum

map2Target :: Domain d => Index1 d -> GLenum

enableCap1 :: Domain d => Index1 d -> EnableCap

enableCap2 :: Domain d => Index1 d -> EnableCap

numComponents :: Domain d => Index1 d -> Stride

peekControlPoint :: Domain d => Ptr (Index1 d) -> IO (Index1 d)

pokeControlPoint :: Domain d => Ptr (Index1 d) -> Index1 d -> IO ()

Foldable Index1 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

fold :: Monoid m => Index1 m -> m

foldMap :: Monoid m => (a -> m) -> Index1 a -> m

foldMap' :: Monoid m => (a -> m) -> Index1 a -> m

foldr :: (a -> b -> b) -> b -> Index1 a -> b

foldr' :: (a -> b -> b) -> b -> Index1 a -> b

foldl :: (b -> a -> b) -> b -> Index1 a -> b

foldl' :: (b -> a -> b) -> b -> Index1 a -> b

foldr1 :: (a -> a -> a) -> Index1 a -> a

foldl1 :: (a -> a -> a) -> Index1 a -> a

toList :: Index1 a -> [a]

null :: Index1 a -> Bool

length :: Index1 a -> Int

elem :: Eq a => a -> Index1 a -> Bool

maximum :: Ord a => Index1 a -> a

minimum :: Ord a => Index1 a -> a

sum :: Num a => Index1 a -> a

product :: Num a => Index1 a -> a

Traversable Index1 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

traverse :: Applicative f => (a -> f b) -> Index1 a -> f (Index1 b)

sequenceA :: Applicative f => Index1 (f a) -> f (Index1 a)

mapM :: Monad m => (a -> m b) -> Index1 a -> m (Index1 b)

sequence :: Monad m => Index1 (m a) -> m (Index1 a)

Applicative Index1 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

pure :: a -> Index1 a

(<*>) :: Index1 (a -> b) -> Index1 a -> Index1 b

liftA2 :: (a -> b -> c) -> Index1 a -> Index1 b -> Index1 c

(*>) :: Index1 a -> Index1 b -> Index1 b

(<*) :: Index1 a -> Index1 b -> Index1 a

Functor Index1 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

fmap :: (a -> b) -> Index1 a -> Index1 b

(<$) :: a -> Index1 b -> Index1 a

UniformComponent a => Uniform (Index1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Methods

uniform :: UniformLocation -> StateVar (Index1 a) #

uniformv :: UniformLocation -> GLsizei -> Ptr (Index1 a) -> IO () #

IndexComponent a => Index (Index1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

index :: Index1 a -> IO () #

indexv :: Ptr (Index1 a) -> IO () #

VertexAttribComponent a => VertexAttrib (Index1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Storable a => Storable (Index1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

sizeOf :: Index1 a -> Int

alignment :: Index1 a -> Int

peekElemOff :: Ptr (Index1 a) -> Int -> IO (Index1 a)

pokeElemOff :: Ptr (Index1 a) -> Int -> Index1 a -> IO ()

peekByteOff :: Ptr b -> Int -> IO (Index1 a)

pokeByteOff :: Ptr b -> Int -> Index1 a -> IO ()

peek :: Ptr (Index1 a) -> IO (Index1 a)

poke :: Ptr (Index1 a) -> Index1 a -> IO ()

Bounded a => Bounded (Index1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

minBound :: Index1 a

maxBound :: Index1 a

Ix a => Ix (Index1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

range :: (Index1 a, Index1 a) -> [Index1 a]

index :: (Index1 a, Index1 a) -> Index1 a -> Int

unsafeIndex :: (Index1 a, Index1 a) -> Index1 a -> Int

inRange :: (Index1 a, Index1 a) -> Index1 a -> Bool

rangeSize :: (Index1 a, Index1 a) -> Int

unsafeRangeSize :: (Index1 a, Index1 a) -> Int

Read a => Read (Index1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

readsPrec :: Int -> ReadS (Index1 a)

readList :: ReadS [Index1 a]

readPrec :: ReadPrec (Index1 a)

readListPrec :: ReadPrec [Index1 a]

Show a => Show (Index1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

showsPrec :: Int -> Index1 a -> ShowS

show :: Index1 a -> String

showList :: [Index1 a] -> ShowS

Eq a => Eq (Index1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

(==) :: Index1 a -> Index1 a -> Bool

(/=) :: Index1 a -> Index1 a -> Bool

Ord a => Ord (Index1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

compare :: Index1 a -> Index1 a -> Ordering

(<) :: Index1 a -> Index1 a -> Bool

(<=) :: Index1 a -> Index1 a -> Bool

(>) :: Index1 a -> Index1 a -> Bool

(>=) :: Index1 a -> Index1 a -> Bool

max :: Index1 a -> Index1 a -> Index1 a

min :: Index1 a -> Index1 a -> Index1 a

data Color3 a #

Constructors

Color3 !a !a !a 

Instances

Instances details
Foldable Color3 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

fold :: Monoid m => Color3 m -> m

foldMap :: Monoid m => (a -> m) -> Color3 a -> m

foldMap' :: Monoid m => (a -> m) -> Color3 a -> m

foldr :: (a -> b -> b) -> b -> Color3 a -> b

foldr' :: (a -> b -> b) -> b -> Color3 a -> b

foldl :: (b -> a -> b) -> b -> Color3 a -> b

foldl' :: (b -> a -> b) -> b -> Color3 a -> b

foldr1 :: (a -> a -> a) -> Color3 a -> a

foldl1 :: (a -> a -> a) -> Color3 a -> a

toList :: Color3 a -> [a]

null :: Color3 a -> Bool

length :: Color3 a -> Int

elem :: Eq a => a -> Color3 a -> Bool

maximum :: Ord a => Color3 a -> a

minimum :: Ord a => Color3 a -> a

sum :: Num a => Color3 a -> a

product :: Num a => Color3 a -> a

Traversable Color3 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

traverse :: Applicative f => (a -> f b) -> Color3 a -> f (Color3 b)

sequenceA :: Applicative f => Color3 (f a) -> f (Color3 a)

mapM :: Monad m => (a -> m b) -> Color3 a -> m (Color3 b)

sequence :: Monad m => Color3 (m a) -> m (Color3 a)

Applicative Color3 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

pure :: a -> Color3 a

(<*>) :: Color3 (a -> b) -> Color3 a -> Color3 b

liftA2 :: (a -> b -> c) -> Color3 a -> Color3 b -> Color3 c

(*>) :: Color3 a -> Color3 b -> Color3 b

(<*) :: Color3 a -> Color3 b -> Color3 a

Functor Color3 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

fmap :: (a -> b) -> Color3 a -> Color3 b

(<$) :: a -> Color3 b -> Color3 a

UniformComponent a => Uniform (Color3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Methods

uniform :: UniformLocation -> StateVar (Color3 a) #

uniformv :: UniformLocation -> GLsizei -> Ptr (Color3 a) -> IO () #

ColorComponent a => Color (Color3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

color :: Color3 a -> IO () #

colorv :: Ptr (Color3 a) -> IO () #

ColorComponent a => SecondaryColor (Color3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

secondaryColor :: Color3 a -> IO () #

secondaryColorv :: Ptr (Color3 a) -> IO () #

VertexAttribComponent a => VertexAttrib (Color3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Storable a => Storable (Color3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

sizeOf :: Color3 a -> Int

alignment :: Color3 a -> Int

peekElemOff :: Ptr (Color3 a) -> Int -> IO (Color3 a)

pokeElemOff :: Ptr (Color3 a) -> Int -> Color3 a -> IO ()

peekByteOff :: Ptr b -> Int -> IO (Color3 a)

pokeByteOff :: Ptr b -> Int -> Color3 a -> IO ()

peek :: Ptr (Color3 a) -> IO (Color3 a)

poke :: Ptr (Color3 a) -> Color3 a -> IO ()

Bounded a => Bounded (Color3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

minBound :: Color3 a

maxBound :: Color3 a

Ix a => Ix (Color3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

range :: (Color3 a, Color3 a) -> [Color3 a]

index :: (Color3 a, Color3 a) -> Color3 a -> Int

unsafeIndex :: (Color3 a, Color3 a) -> Color3 a -> Int

inRange :: (Color3 a, Color3 a) -> Color3 a -> Bool

rangeSize :: (Color3 a, Color3 a) -> Int

unsafeRangeSize :: (Color3 a, Color3 a) -> Int

Read a => Read (Color3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

readsPrec :: Int -> ReadS (Color3 a)

readList :: ReadS [Color3 a]

readPrec :: ReadPrec (Color3 a)

readListPrec :: ReadPrec [Color3 a]

Show a => Show (Color3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

showsPrec :: Int -> Color3 a -> ShowS

show :: Color3 a -> String

showList :: [Color3 a] -> ShowS

Eq a => Eq (Color3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

(==) :: Color3 a -> Color3 a -> Bool

(/=) :: Color3 a -> Color3 a -> Bool

Ord a => Ord (Color3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

compare :: Color3 a -> Color3 a -> Ordering

(<) :: Color3 a -> Color3 a -> Bool

(<=) :: Color3 a -> Color3 a -> Bool

(>) :: Color3 a -> Color3 a -> Bool

(>=) :: Color3 a -> Color3 a -> Bool

max :: Color3 a -> Color3 a -> Color3 a

min :: Color3 a -> Color3 a -> Color3 a

type GLint = Int32 #

type GLfloat = Float #

class HasGetter t a | t -> a where #

Methods

get :: MonadIO m => t -> m a #

Instances

Instances details
HasGetter (StateVar a) a 
Instance details

Defined in Data.StateVar

Methods

get :: MonadIO m => StateVar a -> m a #

HasGetter (STM a) a 
Instance details

Defined in Data.StateVar

Methods

get :: MonadIO m => STM a -> m a #

HasGetter (TVar a) a 
Instance details

Defined in Data.StateVar

Methods

get :: MonadIO m => TVar a -> m a #

Storable a => HasGetter (ForeignPtr a) a 
Instance details

Defined in Data.StateVar

Methods

get :: MonadIO m => ForeignPtr a -> m a #

HasGetter (IORef a) a 
Instance details

Defined in Data.StateVar

Methods

get :: MonadIO m => IORef a -> m a #

Storable a => HasGetter (Ptr a) a 
Instance details

Defined in Data.StateVar

Methods

get :: MonadIO m => Ptr a -> m a #

HasGetter (IO a) a 
Instance details

Defined in Data.StateVar

Methods

get :: MonadIO m => IO a -> m a #

data Error #

Constructors

Error ErrorCategory String 

Instances

Instances details
Show Error 
Instance details

Defined in Graphics.Rendering.OpenGL.GLU.ErrorsInternal

Methods

showsPrec :: Int -> Error -> ShowS

show :: Error -> String

showList :: [Error] -> ShowS

Eq Error 
Instance details

Defined in Graphics.Rendering.OpenGL.GLU.ErrorsInternal

Methods

(==) :: Error -> Error -> Bool

(/=) :: Error -> Error -> Bool

Ord Error 
Instance details

Defined in Graphics.Rendering.OpenGL.GLU.ErrorsInternal

Methods

compare :: Error -> Error -> Ordering

(<) :: Error -> Error -> Bool

(<=) :: Error -> Error -> Bool

(>) :: Error -> Error -> Bool

(>=) :: Error -> Error -> Bool

max :: Error -> Error -> Error

min :: Error -> Error -> Error

type GLenum = Word32 #

class HasSetter t a | t -> a where #

Methods

($=) :: MonadIO m => t -> a -> m () #

Instances

Instances details
HasSetter (SettableStateVar a) a 
Instance details

Defined in Data.StateVar

Methods

($=) :: MonadIO m => SettableStateVar a -> a -> m () #

HasSetter (StateVar a) a 
Instance details

Defined in Data.StateVar

Methods

($=) :: MonadIO m => StateVar a -> a -> m () #

HasSetter (TVar a) a 
Instance details

Defined in Data.StateVar

Methods

($=) :: MonadIO m => TVar a -> a -> m () #

Storable a => HasSetter (ForeignPtr a) a 
Instance details

Defined in Data.StateVar

Methods

($=) :: MonadIO m => ForeignPtr a -> a -> m () #

HasSetter (IORef a) a 
Instance details

Defined in Data.StateVar

Methods

($=) :: MonadIO m => IORef a -> a -> m () #

Storable a => HasSetter (Ptr a) a 
Instance details

Defined in Data.StateVar

Methods

($=) :: MonadIO m => Ptr a -> a -> m () #

type Slices = GLint #

type Stacks = GLint #

data Vertex3 a #

Constructors

Vertex3 !a !a !a 

Instances

Instances details
ControlPoint Vertex3 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.ControlPoint

Methods

map1Target :: Domain d => Vertex3 d -> GLenum

map2Target :: Domain d => Vertex3 d -> GLenum

enableCap1 :: Domain d => Vertex3 d -> EnableCap

enableCap2 :: Domain d => Vertex3 d -> EnableCap

numComponents :: Domain d => Vertex3 d -> Stride

peekControlPoint :: Domain d => Ptr (Vertex3 d) -> IO (Vertex3 d)

pokeControlPoint :: Domain d => Ptr (Vertex3 d) -> Vertex3 d -> IO ()

TrimmingPoint Vertex3 
Instance details

Defined in Graphics.Rendering.OpenGL.GLU.NURBS

Foldable Vertex3 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

fold :: Monoid m => Vertex3 m -> m

foldMap :: Monoid m => (a -> m) -> Vertex3 a -> m

foldMap' :: Monoid m => (a -> m) -> Vertex3 a -> m

foldr :: (a -> b -> b) -> b -> Vertex3 a -> b

foldr' :: (a -> b -> b) -> b -> Vertex3 a -> b

foldl :: (b -> a -> b) -> b -> Vertex3 a -> b

foldl' :: (b -> a -> b) -> b -> Vertex3 a -> b

foldr1 :: (a -> a -> a) -> Vertex3 a -> a

foldl1 :: (a -> a -> a) -> Vertex3 a -> a

toList :: Vertex3 a -> [a]

null :: Vertex3 a -> Bool

length :: Vertex3 a -> Int

elem :: Eq a => a -> Vertex3 a -> Bool

maximum :: Ord a => Vertex3 a -> a

minimum :: Ord a => Vertex3 a -> a

sum :: Num a => Vertex3 a -> a

product :: Num a => Vertex3 a -> a

Traversable Vertex3 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

traverse :: Applicative f => (a -> f b) -> Vertex3 a -> f (Vertex3 b)

sequenceA :: Applicative f => Vertex3 (f a) -> f (Vertex3 a)

mapM :: Monad m => (a -> m b) -> Vertex3 a -> m (Vertex3 b)

sequence :: Monad m => Vertex3 (m a) -> m (Vertex3 a)

Applicative Vertex3 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

pure :: a -> Vertex3 a

(<*>) :: Vertex3 (a -> b) -> Vertex3 a -> Vertex3 b

liftA2 :: (a -> b -> c) -> Vertex3 a -> Vertex3 b -> Vertex3 c

(*>) :: Vertex3 a -> Vertex3 b -> Vertex3 b

(<*) :: Vertex3 a -> Vertex3 b -> Vertex3 a

Functor Vertex3 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

fmap :: (a -> b) -> Vertex3 a -> Vertex3 b

(<$) :: a -> Vertex3 b -> Vertex3 a

RasterPosComponent a => RasterPos (Vertex3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.RasterPos

Methods

rasterPos :: Vertex3 a -> IO () #

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

WindowPosComponent a => WindowPos (Vertex3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.RasterPos

Methods

windowPos :: Vertex3 a -> IO () #

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

UniformComponent a => Uniform (Vertex3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Methods

uniform :: UniformLocation -> StateVar (Vertex3 a) #

uniformv :: UniformLocation -> GLsizei -> Ptr (Vertex3 a) -> IO () #

VertexComponent a => Vertex (Vertex3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

vertex :: Vertex3 a -> IO () #

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

VertexAttribComponent a => VertexAttrib (Vertex3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Storable a => Storable (Vertex3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

sizeOf :: Vertex3 a -> Int

alignment :: Vertex3 a -> Int

peekElemOff :: Ptr (Vertex3 a) -> Int -> IO (Vertex3 a)

pokeElemOff :: Ptr (Vertex3 a) -> Int -> Vertex3 a -> IO ()

peekByteOff :: Ptr b -> Int -> IO (Vertex3 a)

pokeByteOff :: Ptr b -> Int -> Vertex3 a -> IO ()

peek :: Ptr (Vertex3 a) -> IO (Vertex3 a)

poke :: Ptr (Vertex3 a) -> Vertex3 a -> IO ()

Bounded a => Bounded (Vertex3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Ix a => Ix (Vertex3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

range :: (Vertex3 a, Vertex3 a) -> [Vertex3 a]

index :: (Vertex3 a, Vertex3 a) -> Vertex3 a -> Int

unsafeIndex :: (Vertex3 a, Vertex3 a) -> Vertex3 a -> Int

inRange :: (Vertex3 a, Vertex3 a) -> Vertex3 a -> Bool

rangeSize :: (Vertex3 a, Vertex3 a) -> Int

unsafeRangeSize :: (Vertex3 a, Vertex3 a) -> Int

Read a => Read (Vertex3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

readsPrec :: Int -> ReadS (Vertex3 a)

readList :: ReadS [Vertex3 a]

readPrec :: ReadPrec (Vertex3 a)

readListPrec :: ReadPrec [Vertex3 a]

Show a => Show (Vertex3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

showsPrec :: Int -> Vertex3 a -> ShowS

show :: Vertex3 a -> String

showList :: [Vertex3 a] -> ShowS

Eq a => Eq (Vertex3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

(==) :: Vertex3 a -> Vertex3 a -> Bool

(/=) :: Vertex3 a -> Vertex3 a -> Bool

Ord a => Ord (Vertex3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

compare :: Vertex3 a -> Vertex3 a -> Ordering

(<) :: Vertex3 a -> Vertex3 a -> Bool

(<=) :: Vertex3 a -> Vertex3 a -> Bool

(>) :: Vertex3 a -> Vertex3 a -> Bool

(>=) :: Vertex3 a -> Vertex3 a -> Bool

max :: Vertex3 a -> Vertex3 a -> Vertex3 a

min :: Vertex3 a -> Vertex3 a -> Vertex3 a

type GLdouble = Double #

data VariableType #

Instances

Instances details
Show VariableType 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Variables

Methods

showsPrec :: Int -> VariableType -> ShowS

show :: VariableType -> String

showList :: [VariableType] -> ShowS

Eq VariableType 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Variables

Methods

(==) :: VariableType -> VariableType -> Bool

(/=) :: VariableType -> VariableType -> Bool

Ord VariableType 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Variables

($=!) :: (HasSetter t a, MonadIO m) => t -> a -> m () #

class HasSetter t b => HasUpdate t a b | t -> a b where #

Minimal complete definition

Nothing

Methods

($~) :: MonadIO m => t -> (a -> b) -> m () #

($~!) :: MonadIO m => t -> (a -> b) -> m () #

Instances

Instances details
HasUpdate (StateVar a) a a 
Instance details

Defined in Data.StateVar

Methods

($~) :: MonadIO m => StateVar a -> (a -> a) -> m () #

($~!) :: MonadIO m => StateVar a -> (a -> a) -> m () #

HasUpdate (TVar a) a a 
Instance details

Defined in Data.StateVar

Methods

($~) :: MonadIO m => TVar a -> (a -> a) -> m () #

($~!) :: MonadIO m => TVar a -> (a -> a) -> m () #

Storable a => HasUpdate (ForeignPtr a) a a 
Instance details

Defined in Data.StateVar

Methods

($~) :: MonadIO m => ForeignPtr a -> (a -> a) -> m () #

($~!) :: MonadIO m => ForeignPtr a -> (a -> a) -> m () #

HasUpdate (IORef a) a a 
Instance details

Defined in Data.StateVar

Methods

($~) :: MonadIO m => IORef a -> (a -> a) -> m () #

($~!) :: MonadIO m => IORef a -> (a -> a) -> m () #

Storable a => HasUpdate (Ptr a) a a 
Instance details

Defined in Data.StateVar

Methods

($~) :: MonadIO m => Ptr a -> (a -> a) -> m () #

($~!) :: MonadIO m => Ptr a -> (a -> a) -> m () #

mapStateVar :: (b -> a) -> (a -> b) -> StateVar a -> StateVar b #

renderPrimitive :: PrimitiveMode -> IO a -> IO a #

bitmap :: Size -> Vertex2 GLfloat -> Vector2 GLfloat -> Ptr GLubyte -> IO () #

data BufferAccess #

Constructors

ReadOnly 
WriteOnly 
ReadWrite 

Instances

Instances details
Show BufferAccess 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.BufferObjects

Methods

showsPrec :: Int -> BufferAccess -> ShowS

show :: BufferAccess -> String

showList :: [BufferAccess] -> ShowS

Eq BufferAccess 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.BufferObjects

Methods

(==) :: BufferAccess -> BufferAccess -> Bool

(/=) :: BufferAccess -> BufferAccess -> Bool

Ord BufferAccess 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.BufferObjects

data BufferObject #

Instances

Instances details
GeneratableObjectName BufferObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.BufferObjects

Methods

genObjectName :: MonadIO m => m BufferObject #

genObjectNames :: MonadIO m => Int -> m [BufferObject] #

ObjectName BufferObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.BufferObjects

Methods

isObjectName :: MonadIO m => BufferObject -> m Bool #

deleteObjectName :: MonadIO m => BufferObject -> m () #

deleteObjectNames :: MonadIO m => [BufferObject] -> m () #

CanBeLabeled BufferObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.BufferObjects

Methods

objectLabel :: BufferObject -> StateVar (Maybe String) #

Show BufferObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.BufferObjects

Methods

showsPrec :: Int -> BufferObject -> ShowS

show :: BufferObject -> String

showList :: [BufferObject] -> ShowS

Eq BufferObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.BufferObjects

Methods

(==) :: BufferObject -> BufferObject -> Bool

(/=) :: BufferObject -> BufferObject -> Bool

Ord BufferObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.BufferObjects

mapBuffer :: BufferTarget -> BufferAccess -> IO (Maybe (Ptr a)) #

mapBufferRange :: BufferTarget -> Offset -> Length -> [MapBufferUsage] -> IO (Maybe (Ptr a)) #

unmapBuffer :: BufferTarget -> IO Bool #

withMappedBuffer :: BufferTarget -> BufferAccess -> (Ptr a -> IO b) -> (MappingFailure -> IO b) -> IO b #

packUtf8 :: String -> ByteString #

unpackUtf8 :: ByteString -> String #

data Capability #

Constructors

Disabled 
Enabled 

Instances

Instances details
Show Capability 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Capability

Methods

showsPrec :: Int -> Capability -> ShowS

show :: Capability -> String

showList :: [Capability] -> ShowS

Eq Capability 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Capability

Methods

(==) :: Capability -> Capability -> Bool

(/=) :: Capability -> Capability -> Bool

Ord Capability 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Capability

newtype ClipPlaneName #

Constructors

ClipPlaneName GLsizei 

Instances

Instances details
Show ClipPlaneName 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Clipping

Methods

showsPrec :: Int -> ClipPlaneName -> ShowS

show :: ClipPlaneName -> String

showList :: [ClipPlaneName] -> ShowS

Eq ClipPlaneName 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Clipping

Ord ClipPlaneName 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Clipping

data ClampTarget #

Instances

Instances details
Show ClampTarget 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Colors

Methods

showsPrec :: Int -> ClampTarget -> ShowS

show :: ClampTarget -> String

showList :: [ClampTarget] -> ShowS

Eq ClampTarget 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Colors

Methods

(==) :: ClampTarget -> ClampTarget -> Bool

(/=) :: ClampTarget -> ClampTarget -> Bool

Ord ClampTarget 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Colors

data ClampMode #

Constructors

ClampOn 
FixedOnly 
ClampOff 

Instances

Instances details
Show ClampMode 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Colors

Methods

showsPrec :: Int -> ClampMode -> ShowS

show :: ClampMode -> String

showList :: [ClampMode] -> ShowS

Eq ClampMode 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Colors

Methods

(==) :: ClampMode -> ClampMode -> Bool

(/=) :: ClampMode -> ClampMode -> Bool

Ord ClampMode 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Colors

Methods

compare :: ClampMode -> ClampMode -> Ordering

(<) :: ClampMode -> ClampMode -> Bool

(<=) :: ClampMode -> ClampMode -> Bool

(>) :: ClampMode -> ClampMode -> Bool

(>=) :: ClampMode -> ClampMode -> Bool

max :: ClampMode -> ClampMode -> ClampMode

min :: ClampMode -> ClampMode -> ClampMode

data ShadingModel #

Constructors

Flat 
Smooth 

Instances

Instances details
Show ShadingModel 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Colors

Methods

showsPrec :: Int -> ShadingModel -> ShowS

show :: ShadingModel -> String

showList :: [ShadingModel] -> ShowS

Eq ShadingModel 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Colors

Methods

(==) :: ShadingModel -> ShadingModel -> Bool

(/=) :: ShadingModel -> ShadingModel -> Bool

Ord ShadingModel 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Colors

newtype Light #

Constructors

Light GLsizei 

Instances

Instances details
Show Light 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Colors

Methods

showsPrec :: Int -> Light -> ShowS

show :: Light -> String

showList :: [Light] -> ShowS

Eq Light 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Colors

Methods

(==) :: Light -> Light -> Bool

(/=) :: Light -> Light -> Bool

Ord Light 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Colors

Methods

compare :: Light -> Light -> Ordering

(<) :: Light -> Light -> Bool

(<=) :: Light -> Light -> Bool

(>) :: Light -> Light -> Bool

(>=) :: Light -> Light -> Bool

max :: Light -> Light -> Light

min :: Light -> Light -> Light

class ControlPoint (c :: Type -> Type) #

Minimal complete definition

map1Target, map2Target, enableCap1, enableCap2, numComponents, peekControlPoint, pokeControlPoint

Instances

Instances details
ControlPoint Vertex3 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.ControlPoint

Methods

map1Target :: Domain d => Vertex3 d -> GLenum

map2Target :: Domain d => Vertex3 d -> GLenum

enableCap1 :: Domain d => Vertex3 d -> EnableCap

enableCap2 :: Domain d => Vertex3 d -> EnableCap

numComponents :: Domain d => Vertex3 d -> Stride

peekControlPoint :: Domain d => Ptr (Vertex3 d) -> IO (Vertex3 d)

pokeControlPoint :: Domain d => Ptr (Vertex3 d) -> Vertex3 d -> IO ()

ControlPoint Vertex4 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.ControlPoint

Methods

map1Target :: Domain d => Vertex4 d -> GLenum

map2Target :: Domain d => Vertex4 d -> GLenum

enableCap1 :: Domain d => Vertex4 d -> EnableCap

enableCap2 :: Domain d => Vertex4 d -> EnableCap

numComponents :: Domain d => Vertex4 d -> Stride

peekControlPoint :: Domain d => Ptr (Vertex4 d) -> IO (Vertex4 d)

pokeControlPoint :: Domain d => Ptr (Vertex4 d) -> Vertex4 d -> IO ()

ControlPoint Color4 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.ControlPoint

Methods

map1Target :: Domain d => Color4 d -> GLenum

map2Target :: Domain d => Color4 d -> GLenum

enableCap1 :: Domain d => Color4 d -> EnableCap

enableCap2 :: Domain d => Color4 d -> EnableCap

numComponents :: Domain d => Color4 d -> Stride

peekControlPoint :: Domain d => Ptr (Color4 d) -> IO (Color4 d)

pokeControlPoint :: Domain d => Ptr (Color4 d) -> Color4 d -> IO ()

ControlPoint Index1 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.ControlPoint

Methods

map1Target :: Domain d => Index1 d -> GLenum

map2Target :: Domain d => Index1 d -> GLenum

enableCap1 :: Domain d => Index1 d -> EnableCap

enableCap2 :: Domain d => Index1 d -> EnableCap

numComponents :: Domain d => Index1 d -> Stride

peekControlPoint :: Domain d => Ptr (Index1 d) -> IO (Index1 d)

pokeControlPoint :: Domain d => Ptr (Index1 d) -> Index1 d -> IO ()

ControlPoint Normal3 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.ControlPoint

Methods

map1Target :: Domain d => Normal3 d -> GLenum

map2Target :: Domain d => Normal3 d -> GLenum

enableCap1 :: Domain d => Normal3 d -> EnableCap

enableCap2 :: Domain d => Normal3 d -> EnableCap

numComponents :: Domain d => Normal3 d -> Stride

peekControlPoint :: Domain d => Ptr (Normal3 d) -> IO (Normal3 d)

pokeControlPoint :: Domain d => Ptr (Normal3 d) -> Normal3 d -> IO ()

ControlPoint TexCoord1 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.ControlPoint

Methods

map1Target :: Domain d => TexCoord1 d -> GLenum

map2Target :: Domain d => TexCoord1 d -> GLenum

enableCap1 :: Domain d => TexCoord1 d -> EnableCap

enableCap2 :: Domain d => TexCoord1 d -> EnableCap

numComponents :: Domain d => TexCoord1 d -> Stride

peekControlPoint :: Domain d => Ptr (TexCoord1 d) -> IO (TexCoord1 d)

pokeControlPoint :: Domain d => Ptr (TexCoord1 d) -> TexCoord1 d -> IO ()

ControlPoint TexCoord2 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.ControlPoint

Methods

map1Target :: Domain d => TexCoord2 d -> GLenum

map2Target :: Domain d => TexCoord2 d -> GLenum

enableCap1 :: Domain d => TexCoord2 d -> EnableCap

enableCap2 :: Domain d => TexCoord2 d -> EnableCap

numComponents :: Domain d => TexCoord2 d -> Stride

peekControlPoint :: Domain d => Ptr (TexCoord2 d) -> IO (TexCoord2 d)

pokeControlPoint :: Domain d => Ptr (TexCoord2 d) -> TexCoord2 d -> IO ()

ControlPoint TexCoord3 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.ControlPoint

Methods

map1Target :: Domain d => TexCoord3 d -> GLenum

map2Target :: Domain d => TexCoord3 d -> GLenum

enableCap1 :: Domain d => TexCoord3 d -> EnableCap

enableCap2 :: Domain d => TexCoord3 d -> EnableCap

numComponents :: Domain d => TexCoord3 d -> Stride

peekControlPoint :: Domain d => Ptr (TexCoord3 d) -> IO (TexCoord3 d)

pokeControlPoint :: Domain d => Ptr (TexCoord3 d) -> TexCoord3 d -> IO ()

ControlPoint TexCoord4 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.ControlPoint

Methods

map1Target :: Domain d => TexCoord4 d -> GLenum

map2Target :: Domain d => TexCoord4 d -> GLenum

enableCap1 :: Domain d => TexCoord4 d -> EnableCap

enableCap2 :: Domain d => TexCoord4 d -> EnableCap

numComponents :: Domain d => TexCoord4 d -> Stride

peekControlPoint :: Domain d => Ptr (TexCoord4 d) -> IO (TexCoord4 d)

pokeControlPoint :: Domain d => Ptr (TexCoord4 d) -> TexCoord4 d -> IO ()

class Color a where #

Methods

color :: a -> IO () #

colorv :: Ptr a -> IO () #

Instances

Instances details
ColorComponent a => Color (Color3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

color :: Color3 a -> IO () #

colorv :: Ptr (Color3 a) -> IO () #

ColorComponent a => Color (Color4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

color :: Color4 a -> IO () #

colorv :: Ptr (Color4 a) -> IO () #

data MatrixMode #

Instances

Instances details
Show MatrixMode 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.CoordTrans

Methods

showsPrec :: Int -> MatrixMode -> ShowS

show :: MatrixMode -> String

showList :: [MatrixMode] -> ShowS

Eq MatrixMode 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.CoordTrans

Methods

(==) :: MatrixMode -> MatrixMode -> Bool

(/=) :: MatrixMode -> MatrixMode -> Bool

Ord MatrixMode 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.CoordTrans

data MatrixOrder #

Constructors

ColumnMajor 
RowMajor 

Instances

Instances details
Show MatrixOrder 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.CoordTrans

Methods

showsPrec :: Int -> MatrixOrder -> ShowS

show :: MatrixOrder -> String

showList :: [MatrixOrder] -> ShowS

Eq MatrixOrder 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.CoordTrans

Methods

(==) :: MatrixOrder -> MatrixOrder -> Bool

(/=) :: MatrixOrder -> MatrixOrder -> Bool

Ord MatrixOrder 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.CoordTrans

data GLmatrix a #

Instances

Instances details
Matrix GLmatrix 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.CoordTrans

Methods

withNewMatrix :: MatrixComponent c => MatrixOrder -> (Ptr c -> IO ()) -> IO (GLmatrix c) #

withMatrix :: MatrixComponent c => GLmatrix c -> (MatrixOrder -> Ptr c -> IO a) -> IO a #

newMatrix :: MatrixComponent c => MatrixOrder -> [c] -> IO (GLmatrix c) #

getMatrixComponents :: MatrixComponent c => MatrixOrder -> GLmatrix c -> IO [c] #

MatrixComponent a => Uniform (GLmatrix a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Show (GLmatrix a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.CoordTrans

Methods

showsPrec :: Int -> GLmatrix a -> ShowS

show :: GLmatrix a -> String

showList :: [GLmatrix a] -> ShowS

Eq (GLmatrix a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.CoordTrans

Methods

(==) :: GLmatrix a -> GLmatrix a -> Bool

(/=) :: GLmatrix a -> GLmatrix a -> Bool

Ord (GLmatrix a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.CoordTrans

Methods

compare :: GLmatrix a -> GLmatrix a -> Ordering

(<) :: GLmatrix a -> GLmatrix a -> Bool

(<=) :: GLmatrix a -> GLmatrix a -> Bool

(>) :: GLmatrix a -> GLmatrix a -> Bool

(>=) :: GLmatrix a -> GLmatrix a -> Bool

max :: GLmatrix a -> GLmatrix a -> GLmatrix a

min :: GLmatrix a -> GLmatrix a -> GLmatrix a

class Matrix (m :: Type -> Type) where #

Minimal complete definition

Nothing

Methods

withNewMatrix :: MatrixComponent c => MatrixOrder -> (Ptr c -> IO ()) -> IO (m c) #

withMatrix :: MatrixComponent c => m c -> (MatrixOrder -> Ptr c -> IO a) -> IO a #

newMatrix :: MatrixComponent c => MatrixOrder -> [c] -> IO (m c) #

getMatrixComponents :: MatrixComponent c => MatrixOrder -> m c -> IO [c] #

Instances

Instances details
Matrix GLmatrix 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.CoordTrans

Methods

withNewMatrix :: MatrixComponent c => MatrixOrder -> (Ptr c -> IO ()) -> IO (GLmatrix c) #

withMatrix :: MatrixComponent c => GLmatrix c -> (MatrixOrder -> Ptr c -> IO a) -> IO a #

newMatrix :: MatrixComponent c => MatrixOrder -> [c] -> IO (GLmatrix c) #

getMatrixComponents :: MatrixComponent c => MatrixOrder -> GLmatrix c -> IO [c] #

data Plane a #

Constructors

Plane !a !a !a !a 

Instances

Instances details
Storable a => Storable (Plane a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.CoordTrans

Methods

sizeOf :: Plane a -> Int

alignment :: Plane a -> Int

peekElemOff :: Ptr (Plane a) -> Int -> IO (Plane a)

pokeElemOff :: Ptr (Plane a) -> Int -> Plane a -> IO ()

peekByteOff :: Ptr b -> Int -> IO (Plane a)

pokeByteOff :: Ptr b -> Int -> Plane a -> IO ()

peek :: Ptr (Plane a) -> IO (Plane a)

poke :: Ptr (Plane a) -> Plane a -> IO ()

Show a => Show (Plane a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.CoordTrans

Methods

showsPrec :: Int -> Plane a -> ShowS

show :: Plane a -> String

showList :: [Plane a] -> ShowS

Eq a => Eq (Plane a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.CoordTrans

Methods

(==) :: Plane a -> Plane a -> Bool

(/=) :: Plane a -> Plane a -> Bool

Ord a => Ord (Plane a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.CoordTrans

Methods

compare :: Plane a -> Plane a -> Ordering

(<) :: Plane a -> Plane a -> Bool

(<=) :: Plane a -> Plane a -> Bool

(>) :: Plane a -> Plane a -> Bool

(>=) :: Plane a -> Plane a -> Bool

max :: Plane a -> Plane a -> Plane a

min :: Plane a -> Plane a -> Plane a

loadIdentity :: IO () #

matrix :: (Matrix m, MatrixComponent c) => Maybe MatrixMode -> StateVar (m c) #

multMatrix :: (Matrix m, MatrixComponent c) => m c -> IO () #

preservingMatrix :: IO a -> IO a #

unsafePreservingMatrix :: IO a -> IO a #

class CanBeLabeled a where #

Methods

objectLabel :: a -> StateVar (Maybe String) #

Instances

Instances details
CanBeLabeled BufferObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.BufferObjects

Methods

objectLabel :: BufferObject -> StateVar (Maybe String) #

CanBeLabeled DisplayList 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.DisplayLists

Methods

objectLabel :: DisplayList -> StateVar (Maybe String) #

CanBeLabeled FramebufferObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.FramebufferObjects.FramebufferObject

Methods

objectLabel :: FramebufferObject -> StateVar (Maybe String) #

CanBeLabeled RenderbufferObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.FramebufferObjects.RenderbufferObject

Methods

objectLabel :: RenderbufferObject -> StateVar (Maybe String) #

CanBeLabeled QueryObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.QueryObject

Methods

objectLabel :: QueryObject -> StateVar (Maybe String) #

CanBeLabeled Program 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Program

Methods

objectLabel :: Program -> StateVar (Maybe String) #

CanBeLabeled Shader 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Shader

Methods

objectLabel :: Shader -> StateVar (Maybe String) #

CanBeLabeled SyncObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.SyncObjects

Methods

objectLabel :: SyncObject -> StateVar (Maybe String) #

CanBeLabeled TextureObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureObject

Methods

objectLabel :: TextureObject -> StateVar (Maybe String) #

CanBeLabeled VertexArrayObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexArrayObjects

Methods

objectLabel :: VertexArrayObject -> StateVar (Maybe String) #

popDebugGroup :: IO () #

pushDebugGroup :: DebugSource -> DebugMessageID -> String -> IO () #

withDebugGroup :: DebugSource -> DebugMessageID -> String -> IO a -> IO a #

data ListMode #

Constructors

Compile 
CompileAndExecute 

Instances

Instances details
Show ListMode 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.DisplayLists

Methods

showsPrec :: Int -> ListMode -> ShowS

show :: ListMode -> String

showList :: [ListMode] -> ShowS

Eq ListMode 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.DisplayLists

Methods

(==) :: ListMode -> ListMode -> Bool

(/=) :: ListMode -> ListMode -> Bool

Ord ListMode 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.DisplayLists

Methods

compare :: ListMode -> ListMode -> Ordering

(<) :: ListMode -> ListMode -> Bool

(<=) :: ListMode -> ListMode -> Bool

(>) :: ListMode -> ListMode -> Bool

(>=) :: ListMode -> ListMode -> Bool

max :: ListMode -> ListMode -> ListMode

min :: ListMode -> ListMode -> ListMode

newtype DisplayList #

Constructors

DisplayList GLuint 

Instances

Instances details
GeneratableObjectName DisplayList 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.DisplayLists

Methods

genObjectName :: MonadIO m => m DisplayList #

genObjectNames :: MonadIO m => Int -> m [DisplayList] #

ObjectName DisplayList 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.DisplayLists

Methods

isObjectName :: MonadIO m => DisplayList -> m Bool #

deleteObjectName :: MonadIO m => DisplayList -> m () #

deleteObjectNames :: MonadIO m => [DisplayList] -> m () #

CanBeLabeled DisplayList 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.DisplayLists

Methods

objectLabel :: DisplayList -> StateVar (Maybe String) #

Show DisplayList 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.DisplayLists

Methods

showsPrec :: Int -> DisplayList -> ShowS

show :: DisplayList -> String

showList :: [DisplayList] -> ShowS

Eq DisplayList 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.DisplayLists

Methods

(==) :: DisplayList -> DisplayList -> Bool

(/=) :: DisplayList -> DisplayList -> Bool

Ord DisplayList 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.DisplayLists

callList :: DisplayList -> IO () #

callLists :: GLsizei -> DataType -> Ptr a -> IO () #

defineList :: DisplayList -> ListMode -> IO a -> IO a #

class Storable d => Domain d where #

Minimal complete definition

glMap1, glMap2, glGetMapv, evalCoord1, evalCoord1v, evalCoord2, evalCoord2v, glMapGrid1, glMapGrid2, get2, get4

Methods

evalCoord1 :: d -> IO () #

evalCoord1v :: Ptr d -> IO () #

evalCoord2 :: (d, d) -> IO () #

evalCoord2v :: Ptr d -> IO () #

Instances

Instances details
Domain GLdouble 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Domain

Methods

glMap1 :: GLenum -> GLdouble -> GLdouble -> GLint -> GLint -> Ptr GLdouble -> IO ()

glMap2 :: GLenum -> GLdouble -> GLdouble -> GLint -> GLint -> GLdouble -> GLdouble -> GLint -> GLint -> Ptr GLdouble -> IO ()

glGetMapv :: GLenum -> GLenum -> Ptr GLdouble -> IO ()

evalCoord1 :: GLdouble -> IO () #

evalCoord1v :: Ptr GLdouble -> IO () #

evalCoord2 :: (GLdouble, GLdouble) -> IO () #

evalCoord2v :: Ptr GLdouble -> IO () #

glMapGrid1 :: GLint -> GLdouble -> GLdouble -> IO ()

glMapGrid2 :: GLint -> GLdouble -> GLdouble -> GLint -> GLdouble -> GLdouble -> IO ()

get2 :: GetPName2F p => (GLdouble -> GLdouble -> a) -> p -> IO a

get4 :: GetPName4F p => (GLdouble -> GLdouble -> GLdouble -> GLdouble -> a) -> p -> IO a

Domain GLfloat 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Domain

Methods

glMap1 :: GLenum -> GLfloat -> GLfloat -> GLint -> GLint -> Ptr GLfloat -> IO ()

glMap2 :: GLenum -> GLfloat -> GLfloat -> GLint -> GLint -> GLfloat -> GLfloat -> GLint -> GLint -> Ptr GLfloat -> IO ()

glGetMapv :: GLenum -> GLenum -> Ptr GLfloat -> IO ()

evalCoord1 :: GLfloat -> IO () #

evalCoord1v :: Ptr GLfloat -> IO () #

evalCoord2 :: (GLfloat, GLfloat) -> IO () #

evalCoord2v :: Ptr GLfloat -> IO () #

glMapGrid1 :: GLint -> GLfloat -> GLfloat -> IO ()

glMapGrid2 :: GLint -> GLfloat -> GLfloat -> GLint -> GLfloat -> GLfloat -> IO ()

get2 :: GetPName2F p => (GLfloat -> GLfloat -> a) -> p -> IO a

get4 :: GetPName4F p => (GLfloat -> GLfloat -> GLfloat -> GLfloat -> a) -> p -> IO a

data EdgeFlag #

Instances

Instances details
Show EdgeFlag 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.EdgeFlag

Methods

showsPrec :: Int -> EdgeFlag -> ShowS

show :: EdgeFlag -> String

showList :: [EdgeFlag] -> ShowS

Eq EdgeFlag 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.EdgeFlag

Methods

(==) :: EdgeFlag -> EdgeFlag -> Bool

(/=) :: EdgeFlag -> EdgeFlag -> Bool

Ord EdgeFlag 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.EdgeFlag

Methods

compare :: EdgeFlag -> EdgeFlag -> Ordering

(<) :: EdgeFlag -> EdgeFlag -> Bool

(<=) :: EdgeFlag -> EdgeFlag -> Bool

(>) :: EdgeFlag -> EdgeFlag -> Bool

(>=) :: EdgeFlag -> EdgeFlag -> Bool

max :: EdgeFlag -> EdgeFlag -> EdgeFlag

min :: EdgeFlag -> EdgeFlag -> EdgeFlag

data GLmap1 (c :: Type -> Type) d #

Instances

Instances details
Map1 GLmap1 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Evaluators

Methods

withNewMap1 :: forall (c :: Type -> Type) d. (ControlPoint c, Domain d) => MapDescriptor d -> (Ptr d -> IO ()) -> IO (GLmap1 c d) #

withMap1 :: forall (c :: Type -> Type) d a. (ControlPoint c, Domain d) => GLmap1 c d -> (MapDescriptor d -> Ptr d -> IO a) -> IO a #

newMap1 :: (ControlPoint c, Domain d) => (d, d) -> [c d] -> IO (GLmap1 c d) #

getMap1Components :: (ControlPoint c, Domain d) => GLmap1 c d -> IO ((d, d), [c d]) #

Show d => Show (GLmap1 c d) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Evaluators

Methods

showsPrec :: Int -> GLmap1 c d -> ShowS

show :: GLmap1 c d -> String

showList :: [GLmap1 c d] -> ShowS

Eq d => Eq (GLmap1 c d) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Evaluators

Methods

(==) :: GLmap1 c d -> GLmap1 c d -> Bool

(/=) :: GLmap1 c d -> GLmap1 c d -> Bool

Ord d => Ord (GLmap1 c d) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Evaluators

Methods

compare :: GLmap1 c d -> GLmap1 c d -> Ordering

(<) :: GLmap1 c d -> GLmap1 c d -> Bool

(<=) :: GLmap1 c d -> GLmap1 c d -> Bool

(>) :: GLmap1 c d -> GLmap1 c d -> Bool

(>=) :: GLmap1 c d -> GLmap1 c d -> Bool

max :: GLmap1 c d -> GLmap1 c d -> GLmap1 c d

min :: GLmap1 c d -> GLmap1 c d -> GLmap1 c d

data GLmap2 (c :: Type -> Type) d #

Instances

Instances details
Map2 GLmap2 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Evaluators

Methods

withNewMap2 :: forall (c :: Type -> Type) d. (ControlPoint c, Domain d) => MapDescriptor d -> MapDescriptor d -> (Ptr d -> IO ()) -> IO (GLmap2 c d) #

withMap2 :: forall (c :: Type -> Type) d a. (ControlPoint c, Domain d) => GLmap2 c d -> (MapDescriptor d -> MapDescriptor d -> Ptr d -> IO a) -> IO a #

newMap2 :: (ControlPoint c, Domain d) => (d, d) -> (d, d) -> [[c d]] -> IO (GLmap2 c d) #

getMap2Components :: (ControlPoint c, Domain d) => GLmap2 c d -> IO ((d, d), (d, d), [[c d]]) #

Show d => Show (GLmap2 c d) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Evaluators

Methods

showsPrec :: Int -> GLmap2 c d -> ShowS

show :: GLmap2 c d -> String

showList :: [GLmap2 c d] -> ShowS

Eq d => Eq (GLmap2 c d) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Evaluators

Methods

(==) :: GLmap2 c d -> GLmap2 c d -> Bool

(/=) :: GLmap2 c d -> GLmap2 c d -> Bool

Ord d => Ord (GLmap2 c d) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Evaluators

Methods

compare :: GLmap2 c d -> GLmap2 c d -> Ordering

(<) :: GLmap2 c d -> GLmap2 c d -> Bool

(<=) :: GLmap2 c d -> GLmap2 c d -> Bool

(>) :: GLmap2 c d -> GLmap2 c d -> Bool

(>=) :: GLmap2 c d -> GLmap2 c d -> Bool

max :: GLmap2 c d -> GLmap2 c d -> GLmap2 c d

min :: GLmap2 c d -> GLmap2 c d -> GLmap2 c d

class Map1 (m :: (Type -> Type) -> Type -> Type) where #

Minimal complete definition

Nothing

Methods

withNewMap1 :: forall (c :: Type -> Type) d. (ControlPoint c, Domain d) => MapDescriptor d -> (Ptr d -> IO ()) -> IO (m c d) #

withMap1 :: forall (c :: Type -> Type) d a. (ControlPoint c, Domain d) => m c d -> (MapDescriptor d -> Ptr d -> IO a) -> IO a #

newMap1 :: (ControlPoint c, Domain d) => (d, d) -> [c d] -> IO (m c d) #

getMap1Components :: (ControlPoint c, Domain d) => m c d -> IO ((d, d), [c d]) #

Instances

Instances details
Map1 GLmap1 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Evaluators

Methods

withNewMap1 :: forall (c :: Type -> Type) d. (ControlPoint c, Domain d) => MapDescriptor d -> (Ptr d -> IO ()) -> IO (GLmap1 c d) #

withMap1 :: forall (c :: Type -> Type) d a. (ControlPoint c, Domain d) => GLmap1 c d -> (MapDescriptor d -> Ptr d -> IO a) -> IO a #

newMap1 :: (ControlPoint c, Domain d) => (d, d) -> [c d] -> IO (GLmap1 c d) #

getMap1Components :: (ControlPoint c, Domain d) => GLmap1 c d -> IO ((d, d), [c d]) #

class Map2 (m :: (Type -> Type) -> Type -> Type) where #

Minimal complete definition

Nothing

Methods

withNewMap2 :: forall (c :: Type -> Type) d. (ControlPoint c, Domain d) => MapDescriptor d -> MapDescriptor d -> (Ptr d -> IO ()) -> IO (m c d) #

withMap2 :: forall (c :: Type -> Type) d a. (ControlPoint c, Domain d) => m c d -> (MapDescriptor d -> MapDescriptor d -> Ptr d -> IO a) -> IO a #

newMap2 :: (ControlPoint c, Domain d) => (d, d) -> (d, d) -> [[c d]] -> IO (m c d) #

getMap2Components :: (ControlPoint c, Domain d) => m c d -> IO ((d, d), (d, d), [[c d]]) #

Instances

Instances details
Map2 GLmap2 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Evaluators

Methods

withNewMap2 :: forall (c :: Type -> Type) d. (ControlPoint c, Domain d) => MapDescriptor d -> MapDescriptor d -> (Ptr d -> IO ()) -> IO (GLmap2 c d) #

withMap2 :: forall (c :: Type -> Type) d a. (ControlPoint c, Domain d) => GLmap2 c d -> (MapDescriptor d -> MapDescriptor d -> Ptr d -> IO a) -> IO a #

newMap2 :: (ControlPoint c, Domain d) => (d, d) -> (d, d) -> [[c d]] -> IO (GLmap2 c d) #

getMap2Components :: (ControlPoint c, Domain d) => GLmap2 c d -> IO ((d, d), (d, d), [[c d]]) #

data MapDescriptor d #

Instances

Instances details
Show d => Show (MapDescriptor d) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Evaluators

Methods

showsPrec :: Int -> MapDescriptor d -> ShowS

show :: MapDescriptor d -> String

showList :: [MapDescriptor d] -> ShowS

Eq d => Eq (MapDescriptor d) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Evaluators

Methods

(==) :: MapDescriptor d -> MapDescriptor d -> Bool

(/=) :: MapDescriptor d -> MapDescriptor d -> Bool

Ord d => Ord (MapDescriptor d) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Evaluators

type Order = GLint #

evalMesh1 :: PolygonMode -> (GLint, GLint) -> IO () #

evalMesh2 :: PolygonMode -> (GLint, GLint) -> (GLint, GLint) -> IO () #

evalPoint1 :: GLint -> IO () #

evalPoint2 :: (GLint, GLint) -> IO () #

map1 :: forall m (c :: Type -> Type) d. (Map1 m, ControlPoint c, Domain d) => StateVar (Maybe (m c d)) #

map2 :: forall m (c :: Type -> Type) d. (Map2 m, ControlPoint c, Domain d) => StateVar (Maybe (m c d)) #

mapGrid1 :: Domain d => StateVar (GLint, (d, d)) #

mapGrid2 :: Domain d => StateVar ((GLint, (d, d)), (GLint, (d, d))) #

data Face #

Constructors

Front 
Back 
FrontAndBack 

Instances

Instances details
Show Face 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Face

Methods

showsPrec :: Int -> Face -> ShowS

show :: Face -> String

showList :: [Face] -> ShowS

Eq Face 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Face

Methods

(==) :: Face -> Face -> Bool

(/=) :: Face -> Face -> Bool

Ord Face 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Face

Methods

compare :: Face -> Face -> Ordering

(<) :: Face -> Face -> Bool

(<=) :: Face -> Face -> Bool

(>) :: Face -> Face -> Bool

(>=) :: Face -> Face -> Bool

max :: Face -> Face -> Face

min :: Face -> Face -> Face

type ColorInfo = Either (Index1 GLint) (Color4 GLfloat) #

data FeedbackType #

Instances

Instances details
Show FeedbackType 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Feedback

Methods

showsPrec :: Int -> FeedbackType -> ShowS

show :: FeedbackType -> String

showList :: [FeedbackType] -> ShowS

Eq FeedbackType 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Feedback

Methods

(==) :: FeedbackType -> FeedbackType -> Bool

(/=) :: FeedbackType -> FeedbackType -> Bool

Ord FeedbackType 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Feedback

getFeedbackTokens :: GLsizei -> FeedbackType -> IO a -> IO (a, Maybe [FeedbackToken]) #

finish :: IO () #

flush :: IO () #

data FogMode #

Instances

Instances details
Show FogMode 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Fog

Methods

showsPrec :: Int -> FogMode -> ShowS

show :: FogMode -> String

showList :: [FogMode] -> ShowS

Eq FogMode 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Fog

Methods

(==) :: FogMode -> FogMode -> Bool

(/=) :: FogMode -> FogMode -> Bool

Ord FogMode 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Fog

Methods

compare :: FogMode -> FogMode -> Ordering

(<) :: FogMode -> FogMode -> Bool

(<=) :: FogMode -> FogMode -> Bool

(>) :: FogMode -> FogMode -> Bool

(>=) :: FogMode -> FogMode -> Bool

max :: FogMode -> FogMode -> FogMode

min :: FogMode -> FogMode -> FogMode

class FogCoord a where #

Methods

fogCoord :: a -> IO () #

fogCoordv :: Ptr a -> IO () #

Instances

Instances details
FogCoordComponent a => FogCoord (FogCoord1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

fogCoord :: FogCoord1 a -> IO () #

fogCoordv :: Ptr (FogCoord1 a) -> IO () #

data FogCoordSrc #

Constructors

FogCoord 
FragmentDepth 

Instances

Instances details
Show FogCoordSrc 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Fog

Methods

showsPrec :: Int -> FogCoordSrc -> ShowS

show :: FogCoordSrc -> String

showList :: [FogCoordSrc] -> ShowS

Eq FogCoordSrc 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Fog

Methods

(==) :: FogCoordSrc -> FogCoordSrc -> Bool

(/=) :: FogCoordSrc -> FogCoordSrc -> Bool

Ord FogCoordSrc 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Fog

data AccumOp #

Constructors

Accum 
Load 
Return 
Mult 
Add 

Instances

Instances details
Show AccumOp 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Framebuffer

Methods

showsPrec :: Int -> AccumOp -> ShowS

show :: AccumOp -> String

showList :: [AccumOp] -> ShowS

Eq AccumOp 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Framebuffer

Methods

(==) :: AccumOp -> AccumOp -> Bool

(/=) :: AccumOp -> AccumOp -> Bool

Ord AccumOp 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Framebuffer

Methods

compare :: AccumOp -> AccumOp -> Ordering

(<) :: AccumOp -> AccumOp -> Bool

(<=) :: AccumOp -> AccumOp -> Bool

(>) :: AccumOp -> AccumOp -> Bool

(>=) :: AccumOp -> AccumOp -> Bool

max :: AccumOp -> AccumOp -> AccumOp

min :: AccumOp -> AccumOp -> AccumOp

data ClearBuffer #

Instances

Instances details
Show ClearBuffer 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Framebuffer

Methods

showsPrec :: Int -> ClearBuffer -> ShowS

show :: ClearBuffer -> String

showList :: [ClearBuffer] -> ShowS

Eq ClearBuffer 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Framebuffer

Methods

(==) :: ClearBuffer -> ClearBuffer -> Bool

(/=) :: ClearBuffer -> ClearBuffer -> Bool

Ord ClearBuffer 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Framebuffer

accum :: AccumOp -> GLfloat -> IO () #

clear :: [ClearBuffer] -> IO () #

data FramebufferObject #

Instances

Instances details
GeneratableObjectName FramebufferObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.FramebufferObjects.FramebufferObject

Methods

genObjectName :: MonadIO m => m FramebufferObject #

genObjectNames :: MonadIO m => Int -> m [FramebufferObject] #

ObjectName FramebufferObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.FramebufferObjects.FramebufferObject

Methods

isObjectName :: MonadIO m => FramebufferObject -> m Bool #

deleteObjectName :: MonadIO m => FramebufferObject -> m () #

deleteObjectNames :: MonadIO m => [FramebufferObject] -> m () #

CanBeLabeled FramebufferObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.FramebufferObjects.FramebufferObject

Methods

objectLabel :: FramebufferObject -> StateVar (Maybe String) #

Show FramebufferObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.FramebufferObjects.FramebufferObject

Methods

showsPrec :: Int -> FramebufferObject -> ShowS

show :: FramebufferObject -> String

showList :: [FramebufferObject] -> ShowS

Eq FramebufferObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.FramebufferObjects.FramebufferObject

Ord FramebufferObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.FramebufferObjects.FramebufferObject

data FramebufferObjectAttachment #

Instances

Instances details
FramebufferAttachment FramebufferObjectAttachment 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.FramebufferObjects.FramebufferObjectAttachment

Show FramebufferObjectAttachment 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.FramebufferObjects.FramebufferObjectAttachment

Eq FramebufferObjectAttachment 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.FramebufferObjects.FramebufferObjectAttachment

Ord FramebufferObjectAttachment 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.FramebufferObjects.FramebufferObjectAttachment

data RenderbufferObject #

Instances

Instances details
GeneratableObjectName RenderbufferObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.FramebufferObjects.RenderbufferObject

Methods

genObjectName :: MonadIO m => m RenderbufferObject #

genObjectNames :: MonadIO m => Int -> m [RenderbufferObject] #

ObjectName RenderbufferObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.FramebufferObjects.RenderbufferObject

Methods

isObjectName :: MonadIO m => RenderbufferObject -> m Bool #

deleteObjectName :: MonadIO m => RenderbufferObject -> m () #

deleteObjectNames :: MonadIO m => [RenderbufferObject] -> m () #

CanBeLabeled RenderbufferObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.FramebufferObjects.RenderbufferObject

Methods

objectLabel :: RenderbufferObject -> StateVar (Maybe String) #

Show RenderbufferObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.FramebufferObjects.RenderbufferObject

Methods

showsPrec :: Int -> RenderbufferObject -> ShowS

show :: RenderbufferObject -> String

showList :: [RenderbufferObject] -> ShowS

Eq RenderbufferObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.FramebufferObjects.RenderbufferObject

Ord RenderbufferObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.FramebufferObjects.RenderbufferObject

newtype Samples #

Constructors

Samples GLsizei 

Instances

Instances details
Show Samples 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.FramebufferObjects.RenderbufferTarget

Methods

showsPrec :: Int -> Samples -> ShowS

show :: Samples -> String

showList :: [Samples] -> ShowS

Eq Samples 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.FramebufferObjects.RenderbufferTarget

Methods

(==) :: Samples -> Samples -> Bool

(/=) :: Samples -> Samples -> Bool

Ord Samples 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.FramebufferObjects.RenderbufferTarget

Methods

compare :: Samples -> Samples -> Ordering

(<) :: Samples -> Samples -> Bool

(<=) :: Samples -> Samples -> Bool

(>) :: Samples -> Samples -> Bool

(>=) :: Samples -> Samples -> Bool

max :: Samples -> Samples -> Samples

min :: Samples -> Samples -> Samples

data HintMode #

Constructors

DontCare 
Fastest 
Nicest 

Instances

Instances details
Show HintMode 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Hints

Methods

showsPrec :: Int -> HintMode -> ShowS

show :: HintMode -> String

showList :: [HintMode] -> ShowS

Eq HintMode 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Hints

Methods

(==) :: HintMode -> HintMode -> Bool

(/=) :: HintMode -> HintMode -> Bool

Ord HintMode 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Hints

Methods

compare :: HintMode -> HintMode -> Ordering

(<) :: HintMode -> HintMode -> Bool

(<=) :: HintMode -> HintMode -> Bool

(>) :: HintMode -> HintMode -> Bool

(>=) :: HintMode -> HintMode -> Bool

max :: HintMode -> HintMode -> HintMode

min :: HintMode -> HintMode -> HintMode

data HintTarget #

Instances

Instances details
Show HintTarget 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Hints

Methods

showsPrec :: Int -> HintTarget -> ShowS

show :: HintTarget -> String

showList :: [HintTarget] -> ShowS

Eq HintTarget 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Hints

Methods

(==) :: HintTarget -> HintTarget -> Bool

(/=) :: HintTarget -> HintTarget -> Bool

Ord HintTarget 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Hints

class Storable c => MatrixComponent c where #

Minimal complete definition

getMatrix, loadMatrix, loadTransposeMatrix, multMatrix_, multTransposeMatrix, getUniformv, uniformMatrix4v, rotate, translate, scale

Methods

rotate :: c -> Vector3 c -> IO () #

translate :: Vector3 c -> IO () #

scale :: c -> c -> c -> IO () #

Instances

Instances details
MatrixComponent GLdouble 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.MatrixComponent

Methods

getMatrix :: GetPNameMatrix p => p -> Ptr GLdouble -> IO ()

loadMatrix :: Ptr GLdouble -> IO ()

loadTransposeMatrix :: Ptr GLdouble -> IO ()

multMatrix_ :: Ptr GLdouble -> IO ()

multTransposeMatrix :: Ptr GLdouble -> IO ()

getUniformv :: GLuint -> GLint -> Ptr GLdouble -> IO ()

uniformMatrix4v :: GLint -> GLsizei -> GLboolean -> Ptr GLdouble -> IO ()

rotate :: GLdouble -> Vector3 GLdouble -> IO () #

translate :: Vector3 GLdouble -> IO () #

scale :: GLdouble -> GLdouble -> GLdouble -> IO () #

MatrixComponent GLfloat 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.MatrixComponent

Methods

getMatrix :: GetPNameMatrix p => p -> Ptr GLfloat -> IO ()

loadMatrix :: Ptr GLfloat -> IO ()

loadTransposeMatrix :: Ptr GLfloat -> IO ()

multMatrix_ :: Ptr GLfloat -> IO ()

multTransposeMatrix :: Ptr GLfloat -> IO ()

getUniformv :: GLuint -> GLint -> Ptr GLfloat -> IO ()

uniformMatrix4v :: GLint -> GLsizei -> GLboolean -> Ptr GLfloat -> IO ()

rotate :: GLfloat -> Vector3 GLfloat -> IO () #

translate :: Vector3 GLfloat -> IO () #

scale :: GLfloat -> GLfloat -> GLfloat -> IO () #

data LogicOp #

Instances

Instances details
Show LogicOp 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.PerFragment

Methods

showsPrec :: Int -> LogicOp -> ShowS

show :: LogicOp -> String

showList :: [LogicOp] -> ShowS

Eq LogicOp 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.PerFragment

Methods

(==) :: LogicOp -> LogicOp -> Bool

(/=) :: LogicOp -> LogicOp -> Bool

Ord LogicOp 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.PerFragment

Methods

compare :: LogicOp -> LogicOp -> Ordering

(<) :: LogicOp -> LogicOp -> Bool

(<=) :: LogicOp -> LogicOp -> Bool

(>) :: LogicOp -> LogicOp -> Bool

(>=) :: LogicOp -> LogicOp -> Bool

max :: LogicOp -> LogicOp -> LogicOp

min :: LogicOp -> LogicOp -> LogicOp

data StencilOp #

Instances

Instances details
Show StencilOp 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.PerFragment

Methods

showsPrec :: Int -> StencilOp -> ShowS

show :: StencilOp -> String

showList :: [StencilOp] -> ShowS

Eq StencilOp 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.PerFragment

Methods

(==) :: StencilOp -> StencilOp -> Bool

(/=) :: StencilOp -> StencilOp -> Bool

Ord StencilOp 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.PerFragment

Methods

compare :: StencilOp -> StencilOp -> Ordering

(<) :: StencilOp -> StencilOp -> Bool

(<=) :: StencilOp -> StencilOp -> Bool

(>) :: StencilOp -> StencilOp -> Bool

(>=) :: StencilOp -> StencilOp -> Bool

max :: StencilOp -> StencilOp -> StencilOp

min :: StencilOp -> StencilOp -> StencilOp

discardingRasterizer :: IO a -> IO a #

sampleCoverage :: StateVar (Maybe (GLclampf, Bool)) #

data PixelData a #

Constructors

PixelData PixelFormat DataType (Ptr a) 

Instances

Instances details
Show (PixelData a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.PixelData

Methods

showsPrec :: Int -> PixelData a -> ShowS

show :: PixelData a -> String

showList :: [PixelData a] -> ShowS

Eq (PixelData a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.PixelData

Methods

(==) :: PixelData a -> PixelData a -> Bool

(/=) :: PixelData a -> PixelData a -> Bool

Ord (PixelData a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.PixelData

Methods

compare :: PixelData a -> PixelData a -> Ordering

(<) :: PixelData a -> PixelData a -> Bool

(<=) :: PixelData a -> PixelData a -> Bool

(>) :: PixelData a -> PixelData a -> Bool

(>=) :: PixelData a -> PixelData a -> Bool

max :: PixelData a -> PixelData a -> PixelData a

min :: PixelData a -> PixelData a -> PixelData a

data Proxy #

Constructors

NoProxy 
Proxy 

Instances

Instances details
Show Proxy 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.PixelRectangles.ColorTable

Methods

showsPrec :: Int -> Proxy -> ShowS

show :: Proxy -> String

showList :: [Proxy] -> ShowS

Eq Proxy 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.PixelRectangles.ColorTable

Methods

(==) :: Proxy -> Proxy -> Bool

(/=) :: Proxy -> Proxy -> Bool

Ord Proxy 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.PixelRectangles.ColorTable

Methods

compare :: Proxy -> Proxy -> Ordering

(<) :: Proxy -> Proxy -> Bool

(<=) :: Proxy -> Proxy -> Bool

(>) :: Proxy -> Proxy -> Bool

(>=) :: Proxy -> Proxy -> Bool

max :: Proxy -> Proxy -> Proxy

min :: Proxy -> Proxy -> Proxy

getHistogram :: Reset -> PixelData a -> IO () #

resetHistogram :: IO () #

getMinmax :: Reset -> PixelData a -> IO () #

resetMinmax :: IO () #

data GLpixelmap a #

Instances

Instances details
PixelMap GLpixelmap 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.PixelRectangles.PixelMap

Methods

withNewPixelMap :: PixelMapComponent c => Int -> (Ptr c -> IO ()) -> IO (GLpixelmap c) #

withPixelMap :: PixelMapComponent c => GLpixelmap c -> (Int -> Ptr c -> IO a) -> IO a #

newPixelMap :: PixelMapComponent c => [c] -> IO (GLpixelmap c) #

getPixelMapComponents :: PixelMapComponent c => GLpixelmap c -> IO [c] #

Show (GLpixelmap a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.PixelRectangles.PixelMap

Methods

showsPrec :: Int -> GLpixelmap a -> ShowS

show :: GLpixelmap a -> String

showList :: [GLpixelmap a] -> ShowS

Eq (GLpixelmap a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.PixelRectangles.PixelMap

Methods

(==) :: GLpixelmap a -> GLpixelmap a -> Bool

(/=) :: GLpixelmap a -> GLpixelmap a -> Bool

Ord (GLpixelmap a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.PixelRectangles.PixelMap

Methods

compare :: GLpixelmap a -> GLpixelmap a -> Ordering

(<) :: GLpixelmap a -> GLpixelmap a -> Bool

(<=) :: GLpixelmap a -> GLpixelmap a -> Bool

(>) :: GLpixelmap a -> GLpixelmap a -> Bool

(>=) :: GLpixelmap a -> GLpixelmap a -> Bool

max :: GLpixelmap a -> GLpixelmap a -> GLpixelmap a

min :: GLpixelmap a -> GLpixelmap a -> GLpixelmap a

class PixelMap (m :: Type -> Type) where #

Minimal complete definition

Nothing

Methods

withNewPixelMap :: PixelMapComponent c => Int -> (Ptr c -> IO ()) -> IO (m c) #

withPixelMap :: PixelMapComponent c => m c -> (Int -> Ptr c -> IO a) -> IO a #

newPixelMap :: PixelMapComponent c => [c] -> IO (m c) #

getPixelMapComponents :: PixelMapComponent c => m c -> IO [c] #

Instances

Instances details
PixelMap GLpixelmap 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.PixelRectangles.PixelMap

Methods

withNewPixelMap :: PixelMapComponent c => Int -> (Ptr c -> IO ()) -> IO (GLpixelmap c) #

withPixelMap :: PixelMapComponent c => GLpixelmap c -> (Int -> Ptr c -> IO a) -> IO a #

newPixelMap :: PixelMapComponent c => [c] -> IO (GLpixelmap c) #

getPixelMapComponents :: PixelMapComponent c => GLpixelmap c -> IO [c] #

class Storable c => PixelMapComponent c #

Minimal complete definition

getPixelMapv, pixelMapv

Instances

Instances details
PixelMapComponent GLfloat 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.PixelRectangles.PixelMap

Methods

getPixelMapv :: GLenum -> Ptr GLfloat -> IO ()

pixelMapv :: GLenum -> GLsizei -> Ptr GLfloat -> IO ()

PixelMapComponent GLuint 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.PixelRectangles.PixelMap

Methods

getPixelMapv :: GLenum -> Ptr GLuint -> IO ()

pixelMapv :: GLenum -> GLsizei -> Ptr GLuint -> IO ()

PixelMapComponent GLushort 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.PixelRectangles.PixelMap

Methods

getPixelMapv :: GLenum -> Ptr GLushort -> IO ()

pixelMapv :: GLenum -> GLsizei -> Ptr GLushort -> IO ()

drawPixels :: Size -> PixelData a -> IO () #

data Reset #

Constructors

NoReset 
Reset 

Instances

Instances details
Show Reset 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.PixelRectangles.Reset

Methods

showsPrec :: Int -> Reset -> ShowS

show :: Reset -> String

showList :: [Reset] -> ShowS

Eq Reset 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.PixelRectangles.Reset

Methods

(==) :: Reset -> Reset -> Bool

(/=) :: Reset -> Reset -> Bool

Ord Reset 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.PixelRectangles.Reset

Methods

compare :: Reset -> Reset -> Ordering

(<) :: Reset -> Reset -> Bool

(<=) :: Reset -> Reset -> Bool

(>) :: Reset -> Reset -> Bool

(>=) :: Reset -> Reset -> Bool

max :: Reset -> Reset -> Reset

min :: Reset -> Reset -> Reset

data Sink #

Constructors

PassThrough 
Sink 

Instances

Instances details
Show Sink 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.PixelRectangles.Sink

Methods

showsPrec :: Int -> Sink -> ShowS

show :: Sink -> String

showList :: [Sink] -> ShowS

Eq Sink 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.PixelRectangles.Sink

Methods

(==) :: Sink -> Sink -> Bool

(/=) :: Sink -> Sink -> Bool

Ord Sink 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.PixelRectangles.Sink

Methods

compare :: Sink -> Sink -> Ordering

(<) :: Sink -> Sink -> Bool

(<=) :: Sink -> Sink -> Bool

(>) :: Sink -> Sink -> Bool

(>=) :: Sink -> Sink -> Bool

max :: Sink -> Sink -> Sink

min :: Sink -> Sink -> Sink

class PixellikeObjectTarget t where #

Minimal complete definition

marshalPixellikeOT, pixObjTarQueryFunc

data PolygonMode #

Constructors

Point 
Line 
Fill 

Instances

Instances details
Show PolygonMode 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.PolygonMode

Methods

showsPrec :: Int -> PolygonMode -> ShowS

show :: PolygonMode -> String

showList :: [PolygonMode] -> ShowS

Eq PolygonMode 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.PolygonMode

Methods

(==) :: PolygonMode -> PolygonMode -> Bool

(/=) :: PolygonMode -> PolygonMode -> Bool

Ord PolygonMode 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.PolygonMode

class PolygonStipple s where #

Minimal complete definition

Nothing

Methods

withNewPolygonStipple :: (Ptr GLubyte -> IO ()) -> IO s #

withPolygonStipple :: s -> (Ptr GLubyte -> IO a) -> IO a #

newPolygonStipple :: [GLubyte] -> IO s #

getPolygonStippleComponents :: s -> IO [GLubyte] #

cullFace :: StateVar (Maybe Face) #

data QueryObject #

Instances

Instances details
GeneratableObjectName QueryObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.QueryObject

Methods

genObjectName :: MonadIO m => m QueryObject #

genObjectNames :: MonadIO m => Int -> m [QueryObject] #

ObjectName QueryObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.QueryObject

Methods

isObjectName :: MonadIO m => QueryObject -> m Bool #

deleteObjectName :: MonadIO m => QueryObject -> m () #

deleteObjectNames :: MonadIO m => [QueryObject] -> m () #

CanBeLabeled QueryObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.QueryObject

Methods

objectLabel :: QueryObject -> StateVar (Maybe String) #

Show QueryObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.QueryObject

Methods

showsPrec :: Int -> QueryObject -> ShowS

show :: QueryObject -> String

showList :: [QueryObject] -> ShowS

Eq QueryObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.QueryObject

Methods

(==) :: QueryObject -> QueryObject -> Bool

(/=) :: QueryObject -> QueryObject -> Bool

Ord QueryObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.QueryObject

class Storable a => QueryResult a #

Minimal complete definition

getQueryObjectv

Instances

Instances details
QueryResult GLint 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.QueryObjects

Methods

getQueryObjectv :: GLuint -> GLenum -> Ptr GLint -> IO ()

QueryResult GLint64 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.QueryObjects

Methods

getQueryObjectv :: GLuint -> GLenum -> Ptr GLint64 -> IO ()

QueryResult GLuint 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.QueryObjects

Methods

getQueryObjectv :: GLuint -> GLenum -> Ptr GLuint -> IO ()

QueryResult GLuint64 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.QueryObjects

Methods

getQueryObjectv :: GLuint -> GLenum -> Ptr GLuint64 -> IO ()

endQuery :: QueryTarget -> IO () #

withQuery :: QueryTarget -> QueryObject -> IO a -> IO a #

class RasterPos a where #

Methods

rasterPos :: a -> IO () #

rasterPosv :: Ptr a -> IO () #

Instances

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

Defined in Graphics.Rendering.OpenGL.GL.RasterPos

Methods

rasterPos :: Vertex2 a -> IO () #

rasterPosv :: Ptr (Vertex2 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 (Vertex4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.RasterPos

Methods

rasterPos :: Vertex4 a -> IO () #

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

class RasterPosComponent a #

Minimal complete definition

rasterPos2, rasterPos3, rasterPos4, rasterPos2v, rasterPos3v, rasterPos4v

Instances

Instances details
RasterPosComponent GLdouble 
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 
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 
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 
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 WindowPos a where #

Methods

windowPos :: a -> IO () #

windowPosv :: Ptr a -> IO () #

Instances

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

Defined in Graphics.Rendering.OpenGL.GL.RasterPos

Methods

windowPos :: Vertex2 a -> IO () #

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

WindowPosComponent a => WindowPos (Vertex3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.RasterPos

Methods

windowPos :: Vertex3 a -> IO () #

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

class WindowPosComponent a #

Minimal complete definition

windowPos2, windowPos3, windowPos2v, windowPos3v

Instances

Instances details
WindowPosComponent GLdouble 
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 
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 
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 
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 ()

data BlitBuffer #

Instances

Instances details
Show BlitBuffer 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.ReadCopyPixels

Methods

showsPrec :: Int -> BlitBuffer -> ShowS

show :: BlitBuffer -> String

showList :: [BlitBuffer] -> ShowS

Eq BlitBuffer 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.ReadCopyPixels

Methods

(==) :: BlitBuffer -> BlitBuffer -> Bool

(/=) :: BlitBuffer -> BlitBuffer -> Bool

Ord BlitBuffer 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.ReadCopyPixels

readPixels :: Position -> Size -> PixelData a -> IO () #

class Rect a where #

Methods

rect :: Vertex2 a -> Vertex2 a -> IO () #

rectv :: Ptr a -> Ptr a -> IO () #

Instances

Instances details
Rect GLdouble 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Rectangles

Methods

rect :: Vertex2 GLdouble -> Vertex2 GLdouble -> IO () #

rectv :: Ptr GLdouble -> Ptr GLdouble -> IO () #

Rect GLfloat 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Rectangles

Methods

rect :: Vertex2 GLfloat -> Vertex2 GLfloat -> IO () #

rectv :: Ptr GLfloat -> Ptr GLfloat -> IO () #

Rect GLint 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Rectangles

Methods

rect :: Vertex2 GLint -> Vertex2 GLint -> IO () #

rectv :: Ptr GLint -> Ptr GLint -> IO () #

Rect GLshort 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Rectangles

Methods

rect :: Vertex2 GLshort -> Vertex2 GLshort -> IO () #

rectv :: Ptr GLshort -> Ptr GLshort -> IO () #

data RenderMode #

Constructors

Render 
Feedback 
Select 

Instances

Instances details
Show RenderMode 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.RenderMode

Methods

showsPrec :: Int -> RenderMode -> ShowS

show :: RenderMode -> String

showList :: [RenderMode] -> ShowS

Eq RenderMode 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.RenderMode

Methods

(==) :: RenderMode -> RenderMode -> Bool

(/=) :: RenderMode -> RenderMode -> Bool

Ord RenderMode 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.RenderMode

data ServerAttributeGroup #

data HitRecord #

Constructors

HitRecord GLfloat GLfloat [Name] 

Instances

Instances details
Show HitRecord 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Selection

Methods

showsPrec :: Int -> HitRecord -> ShowS

show :: HitRecord -> String

showList :: [HitRecord] -> ShowS

Eq HitRecord 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Selection

Methods

(==) :: HitRecord -> HitRecord -> Bool

(/=) :: HitRecord -> HitRecord -> Bool

Ord HitRecord 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Selection

Methods

compare :: HitRecord -> HitRecord -> Ordering

(<) :: HitRecord -> HitRecord -> Bool

(<=) :: HitRecord -> HitRecord -> Bool

(>) :: HitRecord -> HitRecord -> Bool

(>=) :: HitRecord -> HitRecord -> Bool

max :: HitRecord -> HitRecord -> HitRecord

min :: HitRecord -> HitRecord -> HitRecord

newtype Name #

Constructors

Name GLuint 

Instances

Instances details
Show Name 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Selection

Methods

showsPrec :: Int -> Name -> ShowS

show :: Name -> String

showList :: [Name] -> ShowS

Eq Name 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Selection

Methods

(==) :: Name -> Name -> Bool

(/=) :: Name -> Name -> Bool

Ord Name 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Selection

Methods

compare :: Name -> Name -> Ordering

(<) :: Name -> Name -> Bool

(<=) :: Name -> Name -> Bool

(>) :: Name -> Name -> Bool

(>=) :: Name -> Name -> Bool

max :: Name -> Name -> Name

min :: Name -> Name -> Name

getHitRecords :: GLsizei -> IO a -> IO (a, Maybe [HitRecord]) #

loadName :: Name -> IO () #

withName :: Name -> IO a -> IO a #

data Program #

Instances

Instances details
ObjectName Program 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Program

Methods

isObjectName :: MonadIO m => Program -> m Bool #

deleteObjectName :: MonadIO m => Program -> m () #

deleteObjectNames :: MonadIO m => [Program] -> m () #

CanBeLabeled Program 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Program

Methods

objectLabel :: Program -> StateVar (Maybe String) #

Show Program 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Program

Methods

showsPrec :: Int -> Program -> ShowS

show :: Program -> String

showList :: [Program] -> ShowS

Eq Program 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Program

Methods

(==) :: Program -> Program -> Bool

(/=) :: Program -> Program -> Bool

Ord Program 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Program

Methods

compare :: Program -> Program -> Ordering

(<) :: Program -> Program -> Bool

(<=) :: Program -> Program -> Bool

(>) :: Program -> Program -> Bool

(>=) :: Program -> Program -> Bool

max :: Program -> Program -> Program

min :: Program -> Program -> Program

attachShader :: Program -> Shader -> IO () #

detachShader :: Program -> Shader -> IO () #

getFragDataLocation :: Program -> String -> IO (Maybe DrawBufferIndex) #

linkProgram :: Program -> IO () #

data Shader #

Instances

Instances details
ObjectName Shader 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Shader

Methods

isObjectName :: MonadIO m => Shader -> m Bool #

deleteObjectName :: MonadIO m => Shader -> m () #

deleteObjectNames :: MonadIO m => [Shader] -> m () #

CanBeLabeled Shader 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Shader

Methods

objectLabel :: Shader -> StateVar (Maybe String) #

Show Shader 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Shader

Methods

showsPrec :: Int -> Shader -> ShowS

show :: Shader -> String

showList :: [Shader] -> ShowS

Eq Shader 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Shader

Methods

(==) :: Shader -> Shader -> Bool

(/=) :: Shader -> Shader -> Bool

Ord Shader 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Shader

Methods

compare :: Shader -> Shader -> Ordering

(<) :: Shader -> Shader -> Bool

(<=) :: Shader -> Shader -> Bool

(>) :: Shader -> Shader -> Bool

(>=) :: Shader -> Shader -> Bool

max :: Shader -> Shader -> Shader

min :: Shader -> Shader -> Shader

compileShader :: Shader -> IO () #

shaderSource :: Shader -> StateVar [String] #

shaderSourceBS :: Shader -> StateVar ByteString #

class Uniform a where #

Methods

uniform :: UniformLocation -> StateVar a #

uniformv :: UniformLocation -> GLsizei -> Ptr a -> IO () #

Instances

Instances details
Uniform TextureUnit 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Uniform GLdouble 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Uniform GLfloat 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Uniform GLint 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Uniform GLuint 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

MatrixComponent a => Uniform (GLmatrix a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

UniformComponent a => Uniform (Vector1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Methods

uniform :: UniformLocation -> StateVar (Vector1 a) #

uniformv :: UniformLocation -> GLsizei -> Ptr (Vector1 a) -> IO () #

UniformComponent a => Uniform (Vector2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Methods

uniform :: UniformLocation -> StateVar (Vector2 a) #

uniformv :: UniformLocation -> GLsizei -> Ptr (Vector2 a) -> IO () #

UniformComponent a => Uniform (Vector3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Methods

uniform :: UniformLocation -> StateVar (Vector3 a) #

uniformv :: UniformLocation -> GLsizei -> Ptr (Vector3 a) -> IO () #

UniformComponent a => Uniform (Vector4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Methods

uniform :: UniformLocation -> StateVar (Vector4 a) #

uniformv :: UniformLocation -> GLsizei -> Ptr (Vector4 a) -> IO () #

UniformComponent a => Uniform (Vertex1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Methods

uniform :: UniformLocation -> StateVar (Vertex1 a) #

uniformv :: UniformLocation -> GLsizei -> Ptr (Vertex1 a) -> IO () #

UniformComponent a => Uniform (Vertex2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Methods

uniform :: UniformLocation -> StateVar (Vertex2 a) #

uniformv :: UniformLocation -> GLsizei -> Ptr (Vertex2 a) -> IO () #

UniformComponent a => Uniform (Vertex3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Methods

uniform :: UniformLocation -> StateVar (Vertex3 a) #

uniformv :: UniformLocation -> GLsizei -> Ptr (Vertex3 a) -> IO () #

UniformComponent a => Uniform (Vertex4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Methods

uniform :: UniformLocation -> StateVar (Vertex4 a) #

uniformv :: UniformLocation -> GLsizei -> Ptr (Vertex4 a) -> IO () #

UniformComponent a => Uniform (Color3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Methods

uniform :: UniformLocation -> StateVar (Color3 a) #

uniformv :: UniformLocation -> GLsizei -> Ptr (Color3 a) -> IO () #

UniformComponent a => Uniform (Color4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Methods

uniform :: UniformLocation -> StateVar (Color4 a) #

uniformv :: UniformLocation -> GLsizei -> Ptr (Color4 a) -> IO () #

UniformComponent a => Uniform (FogCoord1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

UniformComponent a => Uniform (Index1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Methods

uniform :: UniformLocation -> StateVar (Index1 a) #

uniformv :: UniformLocation -> GLsizei -> Ptr (Index1 a) -> IO () #

UniformComponent a => Uniform (Normal3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Methods

uniform :: UniformLocation -> StateVar (Normal3 a) #

uniformv :: UniformLocation -> GLsizei -> Ptr (Normal3 a) -> IO () #

UniformComponent a => Uniform (TexCoord1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

UniformComponent a => Uniform (TexCoord2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

UniformComponent a => Uniform (TexCoord3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

UniformComponent a => Uniform (TexCoord4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

class Storable a => UniformComponent a #

Minimal complete definition

uniform1, uniform2, uniform3, uniform4, getUniform, uniform1v, uniform2v, uniform3v, uniform4v

Instances

Instances details
UniformComponent GLdouble 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Methods

uniform1 :: UniformLocation -> GLdouble -> IO ()

uniform2 :: UniformLocation -> GLdouble -> GLdouble -> IO ()

uniform3 :: UniformLocation -> GLdouble -> GLdouble -> GLdouble -> IO ()

uniform4 :: UniformLocation -> GLdouble -> GLdouble -> GLdouble -> GLdouble -> IO ()

getUniform :: Storable (b GLdouble) => GLuint -> GLint -> Ptr (b GLdouble) -> IO ()

uniform1v :: UniformLocation -> GLsizei -> Ptr GLdouble -> IO ()

uniform2v :: UniformLocation -> GLsizei -> Ptr GLdouble -> IO ()

uniform3v :: UniformLocation -> GLsizei -> Ptr GLdouble -> IO ()

uniform4v :: UniformLocation -> GLsizei -> Ptr GLdouble -> IO ()

UniformComponent GLfloat 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Methods

uniform1 :: UniformLocation -> GLfloat -> IO ()

uniform2 :: UniformLocation -> GLfloat -> GLfloat -> IO ()

uniform3 :: UniformLocation -> GLfloat -> GLfloat -> GLfloat -> IO ()

uniform4 :: UniformLocation -> GLfloat -> GLfloat -> GLfloat -> GLfloat -> IO ()

getUniform :: Storable (b GLfloat) => GLuint -> GLint -> Ptr (b GLfloat) -> IO ()

uniform1v :: UniformLocation -> GLsizei -> Ptr GLfloat -> IO ()

uniform2v :: UniformLocation -> GLsizei -> Ptr GLfloat -> IO ()

uniform3v :: UniformLocation -> GLsizei -> Ptr GLfloat -> IO ()

uniform4v :: UniformLocation -> GLsizei -> Ptr GLfloat -> IO ()

UniformComponent GLint 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Methods

uniform1 :: UniformLocation -> GLint -> IO ()

uniform2 :: UniformLocation -> GLint -> GLint -> IO ()

uniform3 :: UniformLocation -> GLint -> GLint -> GLint -> IO ()

uniform4 :: UniformLocation -> GLint -> GLint -> GLint -> GLint -> IO ()

getUniform :: Storable (b GLint) => GLuint -> GLint -> Ptr (b GLint) -> IO ()

uniform1v :: UniformLocation -> GLsizei -> Ptr GLint -> IO ()

uniform2v :: UniformLocation -> GLsizei -> Ptr GLint -> IO ()

uniform3v :: UniformLocation -> GLsizei -> Ptr GLint -> IO ()

uniform4v :: UniformLocation -> GLsizei -> Ptr GLint -> IO ()

UniformComponent GLuint 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Methods

uniform1 :: UniformLocation -> GLuint -> IO ()

uniform2 :: UniformLocation -> GLuint -> GLuint -> IO ()

uniform3 :: UniformLocation -> GLuint -> GLuint -> GLuint -> IO ()

uniform4 :: UniformLocation -> GLuint -> GLuint -> GLuint -> GLuint -> IO ()

getUniform :: Storable (b GLuint) => GLuint -> GLint -> Ptr (b GLuint) -> IO ()

uniform1v :: UniformLocation -> GLsizei -> Ptr GLuint -> IO ()

uniform2v :: UniformLocation -> GLsizei -> Ptr GLuint -> IO ()

uniform3v :: UniformLocation -> GLsizei -> Ptr GLuint -> IO ()

uniform4v :: UniformLocation -> GLsizei -> Ptr GLuint -> IO ()

data WaitResult #

Instances

Instances details
Show WaitResult 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.SyncObjects

Methods

showsPrec :: Int -> WaitResult -> ShowS

show :: WaitResult -> String

showList :: [WaitResult] -> ShowS

Eq WaitResult 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.SyncObjects

Methods

(==) :: WaitResult -> WaitResult -> Bool

(/=) :: WaitResult -> WaitResult -> Bool

Ord WaitResult 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.SyncObjects

data SyncStatus #

Constructors

Unsignaled 
Signaled 

Instances

Instances details
Show SyncStatus 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.SyncObjects

Methods

showsPrec :: Int -> SyncStatus -> ShowS

show :: SyncStatus -> String

showList :: [SyncStatus] -> ShowS

Eq SyncStatus 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.SyncObjects

Methods

(==) :: SyncStatus -> SyncStatus -> Bool

(/=) :: SyncStatus -> SyncStatus -> Bool

Ord SyncStatus 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.SyncObjects

data WaitFlag #

Constructors

SyncFlushCommands 

Instances

Instances details
Show WaitFlag 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.SyncObjects

Methods

showsPrec :: Int -> WaitFlag -> ShowS

show :: WaitFlag -> String

showList :: [WaitFlag] -> ShowS

Eq WaitFlag 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.SyncObjects

Methods

(==) :: WaitFlag -> WaitFlag -> Bool

(/=) :: WaitFlag -> WaitFlag -> Bool

Ord WaitFlag 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.SyncObjects

Methods

compare :: WaitFlag -> WaitFlag -> Ordering

(<) :: WaitFlag -> WaitFlag -> Bool

(<=) :: WaitFlag -> WaitFlag -> Bool

(>) :: WaitFlag -> WaitFlag -> Bool

(>=) :: WaitFlag -> WaitFlag -> Bool

max :: WaitFlag -> WaitFlag -> WaitFlag

min :: WaitFlag -> WaitFlag -> WaitFlag

data SyncObject #

Instances

Instances details
ObjectName SyncObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.SyncObjects

Methods

isObjectName :: MonadIO m => SyncObject -> m Bool #

deleteObjectName :: MonadIO m => SyncObject -> m () #

deleteObjectNames :: MonadIO m => [SyncObject] -> m () #

CanBeLabeled SyncObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.SyncObjects

Methods

objectLabel :: SyncObject -> StateVar (Maybe String) #

Show SyncObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.SyncObjects

Methods

showsPrec :: Int -> SyncObject -> ShowS

show :: SyncObject -> String

showList :: [SyncObject] -> ShowS

Eq SyncObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.SyncObjects

Methods

(==) :: SyncObject -> SyncObject -> Bool

(/=) :: SyncObject -> SyncObject -> Bool

Ord SyncObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.SyncObjects

waitSync :: SyncObject -> IO () #

newtype Vector1 a #

Constructors

Vector1 a 

Instances

Instances details
Foldable Vector1 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

fold :: Monoid m => Vector1 m -> m

foldMap :: Monoid m => (a -> m) -> Vector1 a -> m

foldMap' :: Monoid m => (a -> m) -> Vector1 a -> m

foldr :: (a -> b -> b) -> b -> Vector1 a -> b

foldr' :: (a -> b -> b) -> b -> Vector1 a -> b

foldl :: (b -> a -> b) -> b -> Vector1 a -> b

foldl' :: (b -> a -> b) -> b -> Vector1 a -> b

foldr1 :: (a -> a -> a) -> Vector1 a -> a

foldl1 :: (a -> a -> a) -> Vector1 a -> a

toList :: Vector1 a -> [a]

null :: Vector1 a -> Bool

length :: Vector1 a -> Int

elem :: Eq a => a -> Vector1 a -> Bool

maximum :: Ord a => Vector1 a -> a

minimum :: Ord a => Vector1 a -> a

sum :: Num a => Vector1 a -> a

product :: Num a => Vector1 a -> a

Traversable Vector1 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

traverse :: Applicative f => (a -> f b) -> Vector1 a -> f (Vector1 b)

sequenceA :: Applicative f => Vector1 (f a) -> f (Vector1 a)

mapM :: Monad m => (a -> m b) -> Vector1 a -> m (Vector1 b)

sequence :: Monad m => Vector1 (m a) -> m (Vector1 a)

Applicative Vector1 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

pure :: a -> Vector1 a

(<*>) :: Vector1 (a -> b) -> Vector1 a -> Vector1 b

liftA2 :: (a -> b -> c) -> Vector1 a -> Vector1 b -> Vector1 c

(*>) :: Vector1 a -> Vector1 b -> Vector1 b

(<*) :: Vector1 a -> Vector1 b -> Vector1 a

Functor Vector1 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

fmap :: (a -> b) -> Vector1 a -> Vector1 b

(<$) :: a -> Vector1 b -> Vector1 a

UniformComponent a => Uniform (Vector1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Methods

uniform :: UniformLocation -> StateVar (Vector1 a) #

uniformv :: UniformLocation -> GLsizei -> Ptr (Vector1 a) -> IO () #

VertexAttribComponent a => VertexAttrib (Vector1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Storable a => Storable (Vector1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

sizeOf :: Vector1 a -> Int

alignment :: Vector1 a -> Int

peekElemOff :: Ptr (Vector1 a) -> Int -> IO (Vector1 a)

pokeElemOff :: Ptr (Vector1 a) -> Int -> Vector1 a -> IO ()

peekByteOff :: Ptr b -> Int -> IO (Vector1 a)

pokeByteOff :: Ptr b -> Int -> Vector1 a -> IO ()

peek :: Ptr (Vector1 a) -> IO (Vector1 a)

poke :: Ptr (Vector1 a) -> Vector1 a -> IO ()

Bounded a => Bounded (Vector1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Ix a => Ix (Vector1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

range :: (Vector1 a, Vector1 a) -> [Vector1 a]

index :: (Vector1 a, Vector1 a) -> Vector1 a -> Int

unsafeIndex :: (Vector1 a, Vector1 a) -> Vector1 a -> Int

inRange :: (Vector1 a, Vector1 a) -> Vector1 a -> Bool

rangeSize :: (Vector1 a, Vector1 a) -> Int

unsafeRangeSize :: (Vector1 a, Vector1 a) -> Int

Read a => Read (Vector1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

readsPrec :: Int -> ReadS (Vector1 a)

readList :: ReadS [Vector1 a]

readPrec :: ReadPrec (Vector1 a)

readListPrec :: ReadPrec [Vector1 a]

Show a => Show (Vector1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

showsPrec :: Int -> Vector1 a -> ShowS

show :: Vector1 a -> String

showList :: [Vector1 a] -> ShowS

Eq a => Eq (Vector1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

(==) :: Vector1 a -> Vector1 a -> Bool

(/=) :: Vector1 a -> Vector1 a -> Bool

Ord a => Ord (Vector1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

compare :: Vector1 a -> Vector1 a -> Ordering

(<) :: Vector1 a -> Vector1 a -> Bool

(<=) :: Vector1 a -> Vector1 a -> Bool

(>) :: Vector1 a -> Vector1 a -> Bool

(>=) :: Vector1 a -> Vector1 a -> Bool

max :: Vector1 a -> Vector1 a -> Vector1 a

min :: Vector1 a -> Vector1 a -> Vector1 a

data Vector2 a #

Constructors

Vector2 !a !a 

Instances

Instances details
Foldable Vector2 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

fold :: Monoid m => Vector2 m -> m

foldMap :: Monoid m => (a -> m) -> Vector2 a -> m

foldMap' :: Monoid m => (a -> m) -> Vector2 a -> m

foldr :: (a -> b -> b) -> b -> Vector2 a -> b

foldr' :: (a -> b -> b) -> b -> Vector2 a -> b

foldl :: (b -> a -> b) -> b -> Vector2 a -> b

foldl' :: (b -> a -> b) -> b -> Vector2 a -> b

foldr1 :: (a -> a -> a) -> Vector2 a -> a

foldl1 :: (a -> a -> a) -> Vector2 a -> a

toList :: Vector2 a -> [a]

null :: Vector2 a -> Bool

length :: Vector2 a -> Int

elem :: Eq a => a -> Vector2 a -> Bool

maximum :: Ord a => Vector2 a -> a

minimum :: Ord a => Vector2 a -> a

sum :: Num a => Vector2 a -> a

product :: Num a => Vector2 a -> a

Traversable Vector2 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

traverse :: Applicative f => (a -> f b) -> Vector2 a -> f (Vector2 b)

sequenceA :: Applicative f => Vector2 (f a) -> f (Vector2 a)

mapM :: Monad m => (a -> m b) -> Vector2 a -> m (Vector2 b)

sequence :: Monad m => Vector2 (m a) -> m (Vector2 a)

Applicative Vector2 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

pure :: a -> Vector2 a

(<*>) :: Vector2 (a -> b) -> Vector2 a -> Vector2 b

liftA2 :: (a -> b -> c) -> Vector2 a -> Vector2 b -> Vector2 c

(*>) :: Vector2 a -> Vector2 b -> Vector2 b

(<*) :: Vector2 a -> Vector2 b -> Vector2 a

Functor Vector2 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

fmap :: (a -> b) -> Vector2 a -> Vector2 b

(<$) :: a -> Vector2 b -> Vector2 a

UniformComponent a => Uniform (Vector2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Methods

uniform :: UniformLocation -> StateVar (Vector2 a) #

uniformv :: UniformLocation -> GLsizei -> Ptr (Vector2 a) -> IO () #

VertexAttribComponent a => VertexAttrib (Vector2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Storable a => Storable (Vector2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

sizeOf :: Vector2 a -> Int

alignment :: Vector2 a -> Int

peekElemOff :: Ptr (Vector2 a) -> Int -> IO (Vector2 a)

pokeElemOff :: Ptr (Vector2 a) -> Int -> Vector2 a -> IO ()

peekByteOff :: Ptr b -> Int -> IO (Vector2 a)

pokeByteOff :: Ptr b -> Int -> Vector2 a -> IO ()

peek :: Ptr (Vector2 a) -> IO (Vector2 a)

poke :: Ptr (Vector2 a) -> Vector2 a -> IO ()

Bounded a => Bounded (Vector2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Ix a => Ix (Vector2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

range :: (Vector2 a, Vector2 a) -> [Vector2 a]

index :: (Vector2 a, Vector2 a) -> Vector2 a -> Int

unsafeIndex :: (Vector2 a, Vector2 a) -> Vector2 a -> Int

inRange :: (Vector2 a, Vector2 a) -> Vector2 a -> Bool

rangeSize :: (Vector2 a, Vector2 a) -> Int

unsafeRangeSize :: (Vector2 a, Vector2 a) -> Int

Read a => Read (Vector2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

readsPrec :: Int -> ReadS (Vector2 a)

readList :: ReadS [Vector2 a]

readPrec :: ReadPrec (Vector2 a)

readListPrec :: ReadPrec [Vector2 a]

Show a => Show (Vector2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

showsPrec :: Int -> Vector2 a -> ShowS

show :: Vector2 a -> String

showList :: [Vector2 a] -> ShowS

Eq a => Eq (Vector2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

(==) :: Vector2 a -> Vector2 a -> Bool

(/=) :: Vector2 a -> Vector2 a -> Bool

Ord a => Ord (Vector2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

compare :: Vector2 a -> Vector2 a -> Ordering

(<) :: Vector2 a -> Vector2 a -> Bool

(<=) :: Vector2 a -> Vector2 a -> Bool

(>) :: Vector2 a -> Vector2 a -> Bool

(>=) :: Vector2 a -> Vector2 a -> Bool

max :: Vector2 a -> Vector2 a -> Vector2 a

min :: Vector2 a -> Vector2 a -> Vector2 a

data Vector3 a #

Constructors

Vector3 !a !a !a 

Instances

Instances details
Foldable Vector3 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

fold :: Monoid m => Vector3 m -> m

foldMap :: Monoid m => (a -> m) -> Vector3 a -> m

foldMap' :: Monoid m => (a -> m) -> Vector3 a -> m

foldr :: (a -> b -> b) -> b -> Vector3 a -> b

foldr' :: (a -> b -> b) -> b -> Vector3 a -> b

foldl :: (b -> a -> b) -> b -> Vector3 a -> b

foldl' :: (b -> a -> b) -> b -> Vector3 a -> b

foldr1 :: (a -> a -> a) -> Vector3 a -> a

foldl1 :: (a -> a -> a) -> Vector3 a -> a

toList :: Vector3 a -> [a]

null :: Vector3 a -> Bool

length :: Vector3 a -> Int

elem :: Eq a => a -> Vector3 a -> Bool

maximum :: Ord a => Vector3 a -> a

minimum :: Ord a => Vector3 a -> a

sum :: Num a => Vector3 a -> a

product :: Num a => Vector3 a -> a

Traversable Vector3 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

traverse :: Applicative f => (a -> f b) -> Vector3 a -> f (Vector3 b)

sequenceA :: Applicative f => Vector3 (f a) -> f (Vector3 a)

mapM :: Monad m => (a -> m b) -> Vector3 a -> m (Vector3 b)

sequence :: Monad m => Vector3 (m a) -> m (Vector3 a)

Applicative Vector3 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

pure :: a -> Vector3 a

(<*>) :: Vector3 (a -> b) -> Vector3 a -> Vector3 b

liftA2 :: (a -> b -> c) -> Vector3 a -> Vector3 b -> Vector3 c

(*>) :: Vector3 a -> Vector3 b -> Vector3 b

(<*) :: Vector3 a -> Vector3 b -> Vector3 a

Functor Vector3 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

fmap :: (a -> b) -> Vector3 a -> Vector3 b

(<$) :: a -> Vector3 b -> Vector3 a

UniformComponent a => Uniform (Vector3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Methods

uniform :: UniformLocation -> StateVar (Vector3 a) #

uniformv :: UniformLocation -> GLsizei -> Ptr (Vector3 a) -> IO () #

VertexAttribComponent a => VertexAttrib (Vector3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Storable a => Storable (Vector3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

sizeOf :: Vector3 a -> Int

alignment :: Vector3 a -> Int

peekElemOff :: Ptr (Vector3 a) -> Int -> IO (Vector3 a)

pokeElemOff :: Ptr (Vector3 a) -> Int -> Vector3 a -> IO ()

peekByteOff :: Ptr b -> Int -> IO (Vector3 a)

pokeByteOff :: Ptr b -> Int -> Vector3 a -> IO ()

peek :: Ptr (Vector3 a) -> IO (Vector3 a)

poke :: Ptr (Vector3 a) -> Vector3 a -> IO ()

Bounded a => Bounded (Vector3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Ix a => Ix (Vector3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

range :: (Vector3 a, Vector3 a) -> [Vector3 a]

index :: (Vector3 a, Vector3 a) -> Vector3 a -> Int

unsafeIndex :: (Vector3 a, Vector3 a) -> Vector3 a -> Int

inRange :: (Vector3 a, Vector3 a) -> Vector3 a -> Bool

rangeSize :: (Vector3 a, Vector3 a) -> Int

unsafeRangeSize :: (Vector3 a, Vector3 a) -> Int

Read a => Read (Vector3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

readsPrec :: Int -> ReadS (Vector3 a)

readList :: ReadS [Vector3 a]

readPrec :: ReadPrec (Vector3 a)

readListPrec :: ReadPrec [Vector3 a]

Show a => Show (Vector3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

showsPrec :: Int -> Vector3 a -> ShowS

show :: Vector3 a -> String

showList :: [Vector3 a] -> ShowS

Eq a => Eq (Vector3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

(==) :: Vector3 a -> Vector3 a -> Bool

(/=) :: Vector3 a -> Vector3 a -> Bool

Ord a => Ord (Vector3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

compare :: Vector3 a -> Vector3 a -> Ordering

(<) :: Vector3 a -> Vector3 a -> Bool

(<=) :: Vector3 a -> Vector3 a -> Bool

(>) :: Vector3 a -> Vector3 a -> Bool

(>=) :: Vector3 a -> Vector3 a -> Bool

max :: Vector3 a -> Vector3 a -> Vector3 a

min :: Vector3 a -> Vector3 a -> Vector3 a

data Vector4 a #

Constructors

Vector4 !a !a !a !a 

Instances

Instances details
Foldable Vector4 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

fold :: Monoid m => Vector4 m -> m

foldMap :: Monoid m => (a -> m) -> Vector4 a -> m

foldMap' :: Monoid m => (a -> m) -> Vector4 a -> m

foldr :: (a -> b -> b) -> b -> Vector4 a -> b

foldr' :: (a -> b -> b) -> b -> Vector4 a -> b

foldl :: (b -> a -> b) -> b -> Vector4 a -> b

foldl' :: (b -> a -> b) -> b -> Vector4 a -> b

foldr1 :: (a -> a -> a) -> Vector4 a -> a

foldl1 :: (a -> a -> a) -> Vector4 a -> a

toList :: Vector4 a -> [a]

null :: Vector4 a -> Bool

length :: Vector4 a -> Int

elem :: Eq a => a -> Vector4 a -> Bool

maximum :: Ord a => Vector4 a -> a

minimum :: Ord a => Vector4 a -> a

sum :: Num a => Vector4 a -> a

product :: Num a => Vector4 a -> a

Traversable Vector4 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

traverse :: Applicative f => (a -> f b) -> Vector4 a -> f (Vector4 b)

sequenceA :: Applicative f => Vector4 (f a) -> f (Vector4 a)

mapM :: Monad m => (a -> m b) -> Vector4 a -> m (Vector4 b)

sequence :: Monad m => Vector4 (m a) -> m (Vector4 a)

Applicative Vector4 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

pure :: a -> Vector4 a

(<*>) :: Vector4 (a -> b) -> Vector4 a -> Vector4 b

liftA2 :: (a -> b -> c) -> Vector4 a -> Vector4 b -> Vector4 c

(*>) :: Vector4 a -> Vector4 b -> Vector4 b

(<*) :: Vector4 a -> Vector4 b -> Vector4 a

Functor Vector4 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

fmap :: (a -> b) -> Vector4 a -> Vector4 b

(<$) :: a -> Vector4 b -> Vector4 a

UniformComponent a => Uniform (Vector4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Methods

uniform :: UniformLocation -> StateVar (Vector4 a) #

uniformv :: UniformLocation -> GLsizei -> Ptr (Vector4 a) -> IO () #

VertexAttribComponent a => VertexAttrib (Vector4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Storable a => Storable (Vector4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

sizeOf :: Vector4 a -> Int

alignment :: Vector4 a -> Int

peekElemOff :: Ptr (Vector4 a) -> Int -> IO (Vector4 a)

pokeElemOff :: Ptr (Vector4 a) -> Int -> Vector4 a -> IO ()

peekByteOff :: Ptr b -> Int -> IO (Vector4 a)

pokeByteOff :: Ptr b -> Int -> Vector4 a -> IO ()

peek :: Ptr (Vector4 a) -> IO (Vector4 a)

poke :: Ptr (Vector4 a) -> Vector4 a -> IO ()

Bounded a => Bounded (Vector4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Ix a => Ix (Vector4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

range :: (Vector4 a, Vector4 a) -> [Vector4 a]

index :: (Vector4 a, Vector4 a) -> Vector4 a -> Int

unsafeIndex :: (Vector4 a, Vector4 a) -> Vector4 a -> Int

inRange :: (Vector4 a, Vector4 a) -> Vector4 a -> Bool

rangeSize :: (Vector4 a, Vector4 a) -> Int

unsafeRangeSize :: (Vector4 a, Vector4 a) -> Int

Read a => Read (Vector4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

readsPrec :: Int -> ReadS (Vector4 a)

readList :: ReadS [Vector4 a]

readPrec :: ReadPrec (Vector4 a)

readListPrec :: ReadPrec [Vector4 a]

Show a => Show (Vector4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

showsPrec :: Int -> Vector4 a -> ShowS

show :: Vector4 a -> String

showList :: [Vector4 a] -> ShowS

Eq a => Eq (Vector4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

(==) :: Vector4 a -> Vector4 a -> Bool

(/=) :: Vector4 a -> Vector4 a -> Bool

Ord a => Ord (Vector4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

compare :: Vector4 a -> Vector4 a -> Ordering

(<) :: Vector4 a -> Vector4 a -> Bool

(<=) :: Vector4 a -> Vector4 a -> Bool

(>) :: Vector4 a -> Vector4 a -> Bool

(>=) :: Vector4 a -> Vector4 a -> Bool

max :: Vector4 a -> Vector4 a -> Vector4 a

min :: Vector4 a -> Vector4 a -> Vector4 a

newtype Vertex1 a #

Constructors

Vertex1 a 

Instances

Instances details
Foldable Vertex1 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

fold :: Monoid m => Vertex1 m -> m

foldMap :: Monoid m => (a -> m) -> Vertex1 a -> m

foldMap' :: Monoid m => (a -> m) -> Vertex1 a -> m

foldr :: (a -> b -> b) -> b -> Vertex1 a -> b

foldr' :: (a -> b -> b) -> b -> Vertex1 a -> b

foldl :: (b -> a -> b) -> b -> Vertex1 a -> b

foldl' :: (b -> a -> b) -> b -> Vertex1 a -> b

foldr1 :: (a -> a -> a) -> Vertex1 a -> a

foldl1 :: (a -> a -> a) -> Vertex1 a -> a

toList :: Vertex1 a -> [a]

null :: Vertex1 a -> Bool

length :: Vertex1 a -> Int

elem :: Eq a => a -> Vertex1 a -> Bool

maximum :: Ord a => Vertex1 a -> a

minimum :: Ord a => Vertex1 a -> a

sum :: Num a => Vertex1 a -> a

product :: Num a => Vertex1 a -> a

Traversable Vertex1 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

traverse :: Applicative f => (a -> f b) -> Vertex1 a -> f (Vertex1 b)

sequenceA :: Applicative f => Vertex1 (f a) -> f (Vertex1 a)

mapM :: Monad m => (a -> m b) -> Vertex1 a -> m (Vertex1 b)

sequence :: Monad m => Vertex1 (m a) -> m (Vertex1 a)

Applicative Vertex1 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

pure :: a -> Vertex1 a

(<*>) :: Vertex1 (a -> b) -> Vertex1 a -> Vertex1 b

liftA2 :: (a -> b -> c) -> Vertex1 a -> Vertex1 b -> Vertex1 c

(*>) :: Vertex1 a -> Vertex1 b -> Vertex1 b

(<*) :: Vertex1 a -> Vertex1 b -> Vertex1 a

Functor Vertex1 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

fmap :: (a -> b) -> Vertex1 a -> Vertex1 b

(<$) :: a -> Vertex1 b -> Vertex1 a

UniformComponent a => Uniform (Vertex1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Methods

uniform :: UniformLocation -> StateVar (Vertex1 a) #

uniformv :: UniformLocation -> GLsizei -> Ptr (Vertex1 a) -> IO () #

VertexAttribComponent a => VertexAttrib (Vertex1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Storable a => Storable (Vertex1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

sizeOf :: Vertex1 a -> Int

alignment :: Vertex1 a -> Int

peekElemOff :: Ptr (Vertex1 a) -> Int -> IO (Vertex1 a)

pokeElemOff :: Ptr (Vertex1 a) -> Int -> Vertex1 a -> IO ()

peekByteOff :: Ptr b -> Int -> IO (Vertex1 a)

pokeByteOff :: Ptr b -> Int -> Vertex1 a -> IO ()

peek :: Ptr (Vertex1 a) -> IO (Vertex1 a)

poke :: Ptr (Vertex1 a) -> Vertex1 a -> IO ()

Bounded a => Bounded (Vertex1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Ix a => Ix (Vertex1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

range :: (Vertex1 a, Vertex1 a) -> [Vertex1 a]

index :: (Vertex1 a, Vertex1 a) -> Vertex1 a -> Int

unsafeIndex :: (Vertex1 a, Vertex1 a) -> Vertex1 a -> Int

inRange :: (Vertex1 a, Vertex1 a) -> Vertex1 a -> Bool

rangeSize :: (Vertex1 a, Vertex1 a) -> Int

unsafeRangeSize :: (Vertex1 a, Vertex1 a) -> Int

Read a => Read (Vertex1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

readsPrec :: Int -> ReadS (Vertex1 a)

readList :: ReadS [Vertex1 a]

readPrec :: ReadPrec (Vertex1 a)

readListPrec :: ReadPrec [Vertex1 a]

Show a => Show (Vertex1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

showsPrec :: Int -> Vertex1 a -> ShowS

show :: Vertex1 a -> String

showList :: [Vertex1 a] -> ShowS

Eq a => Eq (Vertex1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

(==) :: Vertex1 a -> Vertex1 a -> Bool

(/=) :: Vertex1 a -> Vertex1 a -> Bool

Ord a => Ord (Vertex1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

compare :: Vertex1 a -> Vertex1 a -> Ordering

(<) :: Vertex1 a -> Vertex1 a -> Bool

(<=) :: Vertex1 a -> Vertex1 a -> Bool

(>) :: Vertex1 a -> Vertex1 a -> Bool

(>=) :: Vertex1 a -> Vertex1 a -> Bool

max :: Vertex1 a -> Vertex1 a -> Vertex1 a

min :: Vertex1 a -> Vertex1 a -> Vertex1 a

data Vertex2 a #

Constructors

Vertex2 !a !a 

Instances

Instances details
TrimmingPoint Vertex2 
Instance details

Defined in Graphics.Rendering.OpenGL.GLU.NURBS

Foldable Vertex2 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

fold :: Monoid m => Vertex2 m -> m

foldMap :: Monoid m => (a -> m) -> Vertex2 a -> m

foldMap' :: Monoid m => (a -> m) -> Vertex2 a -> m

foldr :: (a -> b -> b) -> b -> Vertex2 a -> b

foldr' :: (a -> b -> b) -> b -> Vertex2 a -> b

foldl :: (b -> a -> b) -> b -> Vertex2 a -> b

foldl' :: (b -> a -> b) -> b -> Vertex2 a -> b

foldr1 :: (a -> a -> a) -> Vertex2 a -> a

foldl1 :: (a -> a -> a) -> Vertex2 a -> a

toList :: Vertex2 a -> [a]

null :: Vertex2 a -> Bool

length :: Vertex2 a -> Int

elem :: Eq a => a -> Vertex2 a -> Bool

maximum :: Ord a => Vertex2 a -> a

minimum :: Ord a => Vertex2 a -> a

sum :: Num a => Vertex2 a -> a

product :: Num a => Vertex2 a -> a

Traversable Vertex2 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

traverse :: Applicative f => (a -> f b) -> Vertex2 a -> f (Vertex2 b)

sequenceA :: Applicative f => Vertex2 (f a) -> f (Vertex2 a)

mapM :: Monad m => (a -> m b) -> Vertex2 a -> m (Vertex2 b)

sequence :: Monad m => Vertex2 (m a) -> m (Vertex2 a)

Applicative Vertex2 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

pure :: a -> Vertex2 a

(<*>) :: Vertex2 (a -> b) -> Vertex2 a -> Vertex2 b

liftA2 :: (a -> b -> c) -> Vertex2 a -> Vertex2 b -> Vertex2 c

(*>) :: Vertex2 a -> Vertex2 b -> Vertex2 b

(<*) :: Vertex2 a -> Vertex2 b -> Vertex2 a

Functor Vertex2 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

fmap :: (a -> b) -> Vertex2 a -> Vertex2 b

(<$) :: a -> Vertex2 b -> Vertex2 a

RasterPosComponent a => RasterPos (Vertex2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.RasterPos

Methods

rasterPos :: Vertex2 a -> IO () #

rasterPosv :: Ptr (Vertex2 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 () #

UniformComponent a => Uniform (Vertex2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Methods

uniform :: UniformLocation -> StateVar (Vertex2 a) #

uniformv :: UniformLocation -> GLsizei -> Ptr (Vertex2 a) -> IO () #

VertexComponent a => Vertex (Vertex2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

vertex :: Vertex2 a -> IO () #

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

VertexAttribComponent a => VertexAttrib (Vertex2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Storable a => Storable (Vertex2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

sizeOf :: Vertex2 a -> Int

alignment :: Vertex2 a -> Int

peekElemOff :: Ptr (Vertex2 a) -> Int -> IO (Vertex2 a)

pokeElemOff :: Ptr (Vertex2 a) -> Int -> Vertex2 a -> IO ()

peekByteOff :: Ptr b -> Int -> IO (Vertex2 a)

pokeByteOff :: Ptr b -> Int -> Vertex2 a -> IO ()

peek :: Ptr (Vertex2 a) -> IO (Vertex2 a)

poke :: Ptr (Vertex2 a) -> Vertex2 a -> IO ()

Bounded a => Bounded (Vertex2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Ix a => Ix (Vertex2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

range :: (Vertex2 a, Vertex2 a) -> [Vertex2 a]

index :: (Vertex2 a, Vertex2 a) -> Vertex2 a -> Int

unsafeIndex :: (Vertex2 a, Vertex2 a) -> Vertex2 a -> Int

inRange :: (Vertex2 a, Vertex2 a) -> Vertex2 a -> Bool

rangeSize :: (Vertex2 a, Vertex2 a) -> Int

unsafeRangeSize :: (Vertex2 a, Vertex2 a) -> Int

Read a => Read (Vertex2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

readsPrec :: Int -> ReadS (Vertex2 a)

readList :: ReadS [Vertex2 a]

readPrec :: ReadPrec (Vertex2 a)

readListPrec :: ReadPrec [Vertex2 a]

Show a => Show (Vertex2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

showsPrec :: Int -> Vertex2 a -> ShowS

show :: Vertex2 a -> String

showList :: [Vertex2 a] -> ShowS

Eq a => Eq (Vertex2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

(==) :: Vertex2 a -> Vertex2 a -> Bool

(/=) :: Vertex2 a -> Vertex2 a -> Bool

Ord a => Ord (Vertex2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

compare :: Vertex2 a -> Vertex2 a -> Ordering

(<) :: Vertex2 a -> Vertex2 a -> Bool

(<=) :: Vertex2 a -> Vertex2 a -> Bool

(>) :: Vertex2 a -> Vertex2 a -> Bool

(>=) :: Vertex2 a -> Vertex2 a -> Bool

max :: Vertex2 a -> Vertex2 a -> Vertex2 a

min :: Vertex2 a -> Vertex2 a -> Vertex2 a

data Vertex4 a #

Constructors

Vertex4 !a !a !a !a 

Instances

Instances details
ControlPoint Vertex4 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.ControlPoint

Methods

map1Target :: Domain d => Vertex4 d -> GLenum

map2Target :: Domain d => Vertex4 d -> GLenum

enableCap1 :: Domain d => Vertex4 d -> EnableCap

enableCap2 :: Domain d => Vertex4 d -> EnableCap

numComponents :: Domain d => Vertex4 d -> Stride

peekControlPoint :: Domain d => Ptr (Vertex4 d) -> IO (Vertex4 d)

pokeControlPoint :: Domain d => Ptr (Vertex4 d) -> Vertex4 d -> IO ()

Foldable Vertex4 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

fold :: Monoid m => Vertex4 m -> m

foldMap :: Monoid m => (a -> m) -> Vertex4 a -> m

foldMap' :: Monoid m => (a -> m) -> Vertex4 a -> m

foldr :: (a -> b -> b) -> b -> Vertex4 a -> b

foldr' :: (a -> b -> b) -> b -> Vertex4 a -> b

foldl :: (b -> a -> b) -> b -> Vertex4 a -> b

foldl' :: (b -> a -> b) -> b -> Vertex4 a -> b

foldr1 :: (a -> a -> a) -> Vertex4 a -> a

foldl1 :: (a -> a -> a) -> Vertex4 a -> a

toList :: Vertex4 a -> [a]

null :: Vertex4 a -> Bool

length :: Vertex4 a -> Int

elem :: Eq a => a -> Vertex4 a -> Bool

maximum :: Ord a => Vertex4 a -> a

minimum :: Ord a => Vertex4 a -> a

sum :: Num a => Vertex4 a -> a

product :: Num a => Vertex4 a -> a

Traversable Vertex4 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

traverse :: Applicative f => (a -> f b) -> Vertex4 a -> f (Vertex4 b)

sequenceA :: Applicative f => Vertex4 (f a) -> f (Vertex4 a)

mapM :: Monad m => (a -> m b) -> Vertex4 a -> m (Vertex4 b)

sequence :: Monad m => Vertex4 (m a) -> m (Vertex4 a)

Applicative Vertex4 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

pure :: a -> Vertex4 a

(<*>) :: Vertex4 (a -> b) -> Vertex4 a -> Vertex4 b

liftA2 :: (a -> b -> c) -> Vertex4 a -> Vertex4 b -> Vertex4 c

(*>) :: Vertex4 a -> Vertex4 b -> Vertex4 b

(<*) :: Vertex4 a -> Vertex4 b -> Vertex4 a

Functor Vertex4 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

fmap :: (a -> b) -> Vertex4 a -> Vertex4 b

(<$) :: a -> Vertex4 b -> Vertex4 a

RasterPosComponent a => RasterPos (Vertex4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.RasterPos

Methods

rasterPos :: Vertex4 a -> IO () #

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

UniformComponent a => Uniform (Vertex4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Methods

uniform :: UniformLocation -> StateVar (Vertex4 a) #

uniformv :: UniformLocation -> GLsizei -> Ptr (Vertex4 a) -> IO () #

VertexComponent a => Vertex (Vertex4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

vertex :: Vertex4 a -> IO () #

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

VertexAttribComponent a => VertexAttrib (Vertex4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Storable a => Storable (Vertex4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

sizeOf :: Vertex4 a -> Int

alignment :: Vertex4 a -> Int

peekElemOff :: Ptr (Vertex4 a) -> Int -> IO (Vertex4 a)

pokeElemOff :: Ptr (Vertex4 a) -> Int -> Vertex4 a -> IO ()

peekByteOff :: Ptr b -> Int -> IO (Vertex4 a)

pokeByteOff :: Ptr b -> Int -> Vertex4 a -> IO ()

peek :: Ptr (Vertex4 a) -> IO (Vertex4 a)

poke :: Ptr (Vertex4 a) -> Vertex4 a -> IO ()

Bounded a => Bounded (Vertex4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Ix a => Ix (Vertex4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

range :: (Vertex4 a, Vertex4 a) -> [Vertex4 a]

index :: (Vertex4 a, Vertex4 a) -> Vertex4 a -> Int

unsafeIndex :: (Vertex4 a, Vertex4 a) -> Vertex4 a -> Int

inRange :: (Vertex4 a, Vertex4 a) -> Vertex4 a -> Bool

rangeSize :: (Vertex4 a, Vertex4 a) -> Int

unsafeRangeSize :: (Vertex4 a, Vertex4 a) -> Int

Read a => Read (Vertex4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

readsPrec :: Int -> ReadS (Vertex4 a)

readList :: ReadS [Vertex4 a]

readPrec :: ReadPrec (Vertex4 a)

readListPrec :: ReadPrec [Vertex4 a]

Show a => Show (Vertex4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

showsPrec :: Int -> Vertex4 a -> ShowS

show :: Vertex4 a -> String

showList :: [Vertex4 a] -> ShowS

Eq a => Eq (Vertex4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

(==) :: Vertex4 a -> Vertex4 a -> Bool

(/=) :: Vertex4 a -> Vertex4 a -> Bool

Ord a => Ord (Vertex4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Tensor

Methods

compare :: Vertex4 a -> Vertex4 a -> Ordering

(<) :: Vertex4 a -> Vertex4 a -> Bool

(<=) :: Vertex4 a -> Vertex4 a -> Bool

(>) :: Vertex4 a -> Vertex4 a -> Bool

(>=) :: Vertex4 a -> Vertex4 a -> Bool

max :: Vertex4 a -> Vertex4 a -> Vertex4 a

min :: Vertex4 a -> Vertex4 a -> Vertex4 a

data Arg #

Constructors

Arg BlendingFactor Src 

Instances

Instances details
Show Arg 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.Environments

Methods

showsPrec :: Int -> Arg -> ShowS

show :: Arg -> String

showList :: [Arg] -> ShowS

Eq Arg 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.Environments

Methods

(==) :: Arg -> Arg -> Bool

(/=) :: Arg -> Arg -> Bool

Ord Arg 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.Environments

Methods

compare :: Arg -> Arg -> Ordering

(<) :: Arg -> Arg -> Bool

(<=) :: Arg -> Arg -> Bool

(>) :: Arg -> Arg -> Bool

(>=) :: Arg -> Arg -> Bool

max :: Arg -> Arg -> Arg

min :: Arg -> Arg -> Arg

data ArgNum #

Constructors

Arg0 
Arg1 
Arg2 
Arg3 

Instances

Instances details
Show ArgNum 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.Environments

Methods

showsPrec :: Int -> ArgNum -> ShowS

show :: ArgNum -> String

showList :: [ArgNum] -> ShowS

Eq ArgNum 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.Environments

Methods

(==) :: ArgNum -> ArgNum -> Bool

(/=) :: ArgNum -> ArgNum -> Bool

Ord ArgNum 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.Environments

Methods

compare :: ArgNum -> ArgNum -> Ordering

(<) :: ArgNum -> ArgNum -> Bool

(<=) :: ArgNum -> ArgNum -> Bool

(>) :: ArgNum -> ArgNum -> Bool

(>=) :: ArgNum -> ArgNum -> Bool

max :: ArgNum -> ArgNum -> ArgNum

min :: ArgNum -> ArgNum -> ArgNum

data Src #

Instances

Instances details
Show Src 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.Environments

Methods

showsPrec :: Int -> Src -> ShowS

show :: Src -> String

showList :: [Src] -> ShowS

Eq Src 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.Environments

Methods

(==) :: Src -> Src -> Bool

(/=) :: Src -> Src -> Bool

Ord Src 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.Environments

Methods

compare :: Src -> Src -> Ordering

(<) :: Src -> Src -> Bool

(<=) :: Src -> Src -> Bool

(>) :: Src -> Src -> Bool

(>=) :: Src -> Src -> Bool

max :: Src -> Src -> Src

min :: Src -> Src -> Src

data Clamping #

Instances

Instances details
Show Clamping 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.Parameters

Methods

showsPrec :: Int -> Clamping -> ShowS

show :: Clamping -> String

showList :: [Clamping] -> ShowS

Eq Clamping 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.Parameters

Methods

(==) :: Clamping -> Clamping -> Bool

(/=) :: Clamping -> Clamping -> Bool

Ord Clamping 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.Parameters

Methods

compare :: Clamping -> Clamping -> Ordering

(<) :: Clamping -> Clamping -> Bool

(<=) :: Clamping -> Clamping -> Bool

(>) :: Clamping -> Clamping -> Bool

(>=) :: Clamping -> Clamping -> Bool

max :: Clamping -> Clamping -> Clamping

min :: Clamping -> Clamping -> Clamping

type LOD = GLfloat #

data Repetition #

Constructors

Repeated 
Mirrored 

Instances

Instances details
Show Repetition 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.Parameters

Methods

showsPrec :: Int -> Repetition -> ShowS

show :: Repetition -> String

showList :: [Repetition] -> ShowS

Eq Repetition 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.Parameters

Methods

(==) :: Repetition -> Repetition -> Bool

(/=) :: Repetition -> Repetition -> Bool

Ord Repetition 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.Parameters

data PixelInternalFormat #

Constructors

Alpha' 
DepthComponent' 
Luminance' 
LuminanceAlpha' 
Intensity 
R8 
R16 
RG8 
RG16 
RGB' 
RGBA' 
SRGB 
SRGBAlpha 
SLuminance 
SLuminanceAlpha 
Alpha4 
Alpha8 
Alpha12 
Alpha16 
DepthComponent16 
DepthComponent24 
DepthComponent32 
Luminance4 
Luminance8 
Luminance12 
Luminance16 
Luminance4Alpha4 
Luminance6Alpha2 
Luminance8Alpha8 
Luminance12Alpha4 
Luminance12Alpha12 
Luminance16Alpha16 
Intensity4 
Intensity8 
Intensity12 
Intensity16 
R3G3B2 
RGB4 
RGB5 
RGB8 
RGB10 
RGB12 
RGB16 
RGBA2 
RGBA4 
RGB5A1 
RGBA8 
RGB10A2 
RGBA12 
RGBA16 
SRGB8 
SRGB8Alpha8 
R16F 
RG16F 
RGB16F 
RGBA16F 
R32F 
RG32F 
RGB32F 
RGBA32F 
R8I 
R8UI 
R16I 
R16UI 
R32I 
R32UI 
RG8I 
RG8UI 
RG16I 
RG16UI 
RG32I 
RG32UI 
RGB8I 
RGB8UI 
RGB16I 
RGB16UI 
RGB32I 
RGB32UI 
RGBA8I 
RGBA8UI 
RGBA16I 
RGBA16UI 
RGBA32I 
RGBA32UI 
SLuminance8 
SLuminance8Alpha8 
CompressedAlpha 
CompressedLuminance 
CompressedLuminanceAlpha 
CompressedIntensity 
CompressedRed 
CompressedRG 
CompressedRGB 
CompressedRGBA 
CompressedSRGB 
CompressedSRGBAlpha 
CompressedSLuminance 
CompressedSLuminanceAlpha 
CompressedRedRGTC1 
CompressedSignedRedRGTC1 
CompressedRG_RGTC2 
CompressedSignedRG_RGTC2 
DepthComponent32f 
Depth32fStencil8 
RGB9E5 
R11fG11fB10f 
StencilIndex1 
StencilIndex4 
StencilIndex8 
StencilIndex16 
RGBS3TC 
RGB4S3TC 
RGBAS3TC 
RGBA4S3TC 
RGBADXT5S3TC 
RGBA4DXT5S3TC 
CompressedRGBAS3TCDXT1 
CompressedRGBAS3TCDXT3 
CompressedRGBAS3TCDXT5 
CompressedRGBS3TCDXT1 
Alpha32F 
Intensity32F 
Luminance32F 
LuminanceAlpha32F 
Alpha16F 
Intensity16F 
Luminance16F 
LuminanceAlpha16F 
Depth24Stencil8 

type TextureQuery t a = t -> Level -> GettableStateVar a #

type Border = GLint #

type Level = GLint #

getCompressedTexImage :: GettableTextureTarget t => t -> Level -> Ptr a -> IO () #

newtype TextureObject #

Constructors

TextureObject GLuint 

Instances

Instances details
GeneratableObjectName TextureObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureObject

Methods

genObjectName :: MonadIO m => m TextureObject #

genObjectNames :: MonadIO m => Int -> m [TextureObject] #

ObjectName TextureObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureObject

Methods

isObjectName :: MonadIO m => TextureObject -> m Bool #

deleteObjectName :: MonadIO m => TextureObject -> m () #

deleteObjectNames :: MonadIO m => [TextureObject] -> m () #

CanBeLabeled TextureObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureObject

Methods

objectLabel :: TextureObject -> StateVar (Maybe String) #

Show TextureObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureObject

Methods

showsPrec :: Int -> TextureObject -> ShowS

show :: TextureObject -> String

showList :: [TextureObject] -> ShowS

Eq TextureObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureObject

Ord TextureObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureObject

class BindableTextureTarget t #

Minimal complete definition

marshalBindableTextureTarget, marshalBindableTextureTargetPName1I

Instances

Instances details
BindableTextureTarget TextureTarget1D 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

BindableTextureTarget TextureTarget2D 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

BindableTextureTarget TextureTarget2DMultisample 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

BindableTextureTarget TextureTarget2DMultisampleArray 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

BindableTextureTarget TextureTarget3D 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

BindableTextureTarget TextureTargetBuffer 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

BindableTextureTarget TextureTargetCubeMap 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

class OneDimensionalTextureTarget t #

Minimal complete definition

marshalOneDimensionalTextureTarget

class ParameterizedTextureTarget t #

Minimal complete definition

marshalParameterizedTextureTarget, marshalParameterizedTextureTargetProxy, marshalParameterizedTextureTargetEnableCap

Instances

Instances details
ParameterizedTextureTarget TextureTarget1D 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

ParameterizedTextureTarget TextureTarget2D 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

ParameterizedTextureTarget TextureTarget2DMultisample 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

ParameterizedTextureTarget TextureTarget2DMultisampleArray 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

ParameterizedTextureTarget TextureTarget3D 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

ParameterizedTextureTarget TextureTargetCubeMap 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

data TextureTarget1D #

Constructors

Texture1D 

Instances

Instances details
BindableTextureTarget TextureTarget1D 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

GettableTextureTarget TextureTarget1D 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

OneDimensionalTextureTarget TextureTarget1D 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

ParameterizedTextureTarget TextureTarget1D 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

QueryableTextureTarget TextureTarget1D 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

Show TextureTarget1D 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

Methods

showsPrec :: Int -> TextureTarget1D -> ShowS

show :: TextureTarget1D -> String

showList :: [TextureTarget1D] -> ShowS

Eq TextureTarget1D 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

Ord TextureTarget1D 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

data TextureTarget2D #

Instances

Instances details
BindableTextureTarget TextureTarget2D 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

GettableTextureTarget TextureTarget2D 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

ParameterizedTextureTarget TextureTarget2D 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

QueryableTextureTarget TextureTarget2D 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

TwoDimensionalTextureTarget TextureTarget2D 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

Show TextureTarget2D 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

Methods

showsPrec :: Int -> TextureTarget2D -> ShowS

show :: TextureTarget2D -> String

showList :: [TextureTarget2D] -> ShowS

Eq TextureTarget2D 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

Ord TextureTarget2D 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

data TextureTarget3D #

Instances

Instances details
BindableTextureTarget TextureTarget3D 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

GettableTextureTarget TextureTarget3D 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

ParameterizedTextureTarget TextureTarget3D 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

QueryableTextureTarget TextureTarget3D 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

ThreeDimensionalTextureTarget TextureTarget3D 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

Show TextureTarget3D 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

Methods

showsPrec :: Int -> TextureTarget3D -> ShowS

show :: TextureTarget3D -> String

showList :: [TextureTarget3D] -> ShowS

Eq TextureTarget3D 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

Ord TextureTarget3D 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

data TextureTarget2DMultisample #

Constructors

Texture2DMultisample 

Instances

Instances details
BindableTextureTarget TextureTarget2DMultisample 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

ParameterizedTextureTarget TextureTarget2DMultisample 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

QueryableTextureTarget TextureTarget2DMultisample 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

Show TextureTarget2DMultisample 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

Eq TextureTarget2DMultisample 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

Ord TextureTarget2DMultisample 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

data TextureTarget2DMultisampleArray #

Instances

Instances details
BindableTextureTarget TextureTarget2DMultisampleArray 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

ParameterizedTextureTarget TextureTarget2DMultisampleArray 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

QueryableTextureTarget TextureTarget2DMultisampleArray 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

Show TextureTarget2DMultisampleArray 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

Eq TextureTarget2DMultisampleArray 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

Ord TextureTarget2DMultisampleArray 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

data TextureTargetCubeMap #

Constructors

TextureCubeMap 

Instances

Instances details
BindableTextureTarget TextureTargetCubeMap 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

ParameterizedTextureTarget TextureTargetCubeMap 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

TwoDimensionalTextureTarget TextureTargetCubeMap 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

Show TextureTargetCubeMap 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

Methods

showsPrec :: Int -> TextureTargetCubeMap -> ShowS

show :: TextureTargetCubeMap -> String

showList :: [TextureTargetCubeMap] -> ShowS

Eq TextureTargetCubeMap 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

Ord TextureTargetCubeMap 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

data TextureTargetCubeMapFace #

Instances

Instances details
GettableTextureTarget TextureTargetCubeMapFace 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

QueryableTextureTarget TextureTargetCubeMapFace 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

TwoDimensionalTextureTarget TextureTargetCubeMapFace 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

Show TextureTargetCubeMapFace 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

Eq TextureTargetCubeMapFace 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

Ord TextureTargetCubeMapFace 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget

class ThreeDimensionalTextureTarget t #

Minimal complete definition

marshalThreeDimensionalTextureTarget

newtype TextureUnit #

Constructors

TextureUnit GLuint 

Instances

Instances details
Uniform TextureUnit 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Storable TextureUnit 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureUnit

Methods

sizeOf :: TextureUnit -> Int

alignment :: TextureUnit -> Int

peekElemOff :: Ptr TextureUnit -> Int -> IO TextureUnit

pokeElemOff :: Ptr TextureUnit -> Int -> TextureUnit -> IO ()

peekByteOff :: Ptr b -> Int -> IO TextureUnit

pokeByteOff :: Ptr b -> Int -> TextureUnit -> IO ()

peek :: Ptr TextureUnit -> IO TextureUnit

poke :: Ptr TextureUnit -> TextureUnit -> IO ()

Show TextureUnit 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureUnit

Methods

showsPrec :: Int -> TextureUnit -> ShowS

show :: TextureUnit -> String

showList :: [TextureUnit] -> ShowS

Eq TextureUnit 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureUnit

Methods

(==) :: TextureUnit -> TextureUnit -> Bool

(/=) :: TextureUnit -> TextureUnit -> Bool

Ord TextureUnit 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureUnit

data VertexArrayObject #

Instances

Instances details
GeneratableObjectName VertexArrayObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexArrayObjects

Methods

genObjectName :: MonadIO m => m VertexArrayObject #

genObjectNames :: MonadIO m => Int -> m [VertexArrayObject] #

ObjectName VertexArrayObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexArrayObjects

Methods

isObjectName :: MonadIO m => VertexArrayObject -> m Bool #

deleteObjectName :: MonadIO m => VertexArrayObject -> m () #

deleteObjectNames :: MonadIO m => [VertexArrayObject] -> m () #

CanBeLabeled VertexArrayObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexArrayObjects

Methods

objectLabel :: VertexArrayObject -> StateVar (Maybe String) #

Show VertexArrayObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexArrayObjects

Methods

showsPrec :: Int -> VertexArrayObject -> ShowS

show :: VertexArrayObject -> String

showList :: [VertexArrayObject] -> ShowS

Eq VertexArrayObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexArrayObjects

Ord VertexArrayObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexArrayObjects

data Color4 a #

Constructors

Color4 !a !a !a !a 

Instances

Instances details
ControlPoint Color4 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.ControlPoint

Methods

map1Target :: Domain d => Color4 d -> GLenum

map2Target :: Domain d => Color4 d -> GLenum

enableCap1 :: Domain d => Color4 d -> EnableCap

enableCap2 :: Domain d => Color4 d -> EnableCap

numComponents :: Domain d => Color4 d -> Stride

peekControlPoint :: Domain d => Ptr (Color4 d) -> IO (Color4 d)

pokeControlPoint :: Domain d => Ptr (Color4 d) -> Color4 d -> IO ()

Foldable Color4 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

fold :: Monoid m => Color4 m -> m

foldMap :: Monoid m => (a -> m) -> Color4 a -> m

foldMap' :: Monoid m => (a -> m) -> Color4 a -> m

foldr :: (a -> b -> b) -> b -> Color4 a -> b

foldr' :: (a -> b -> b) -> b -> Color4 a -> b

foldl :: (b -> a -> b) -> b -> Color4 a -> b

foldl' :: (b -> a -> b) -> b -> Color4 a -> b

foldr1 :: (a -> a -> a) -> Color4 a -> a

foldl1 :: (a -> a -> a) -> Color4 a -> a

toList :: Color4 a -> [a]

null :: Color4 a -> Bool

length :: Color4 a -> Int

elem :: Eq a => a -> Color4 a -> Bool

maximum :: Ord a => Color4 a -> a

minimum :: Ord a => Color4 a -> a

sum :: Num a => Color4 a -> a

product :: Num a => Color4 a -> a

Traversable Color4 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

traverse :: Applicative f => (a -> f b) -> Color4 a -> f (Color4 b)

sequenceA :: Applicative f => Color4 (f a) -> f (Color4 a)

mapM :: Monad m => (a -> m b) -> Color4 a -> m (Color4 b)

sequence :: Monad m => Color4 (m a) -> m (Color4 a)

Applicative Color4 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

pure :: a -> Color4 a

(<*>) :: Color4 (a -> b) -> Color4 a -> Color4 b

liftA2 :: (a -> b -> c) -> Color4 a -> Color4 b -> Color4 c

(*>) :: Color4 a -> Color4 b -> Color4 b

(<*) :: Color4 a -> Color4 b -> Color4 a

Functor Color4 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

fmap :: (a -> b) -> Color4 a -> Color4 b

(<$) :: a -> Color4 b -> Color4 a

UniformComponent a => Uniform (Color4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Methods

uniform :: UniformLocation -> StateVar (Color4 a) #

uniformv :: UniformLocation -> GLsizei -> Ptr (Color4 a) -> IO () #

ColorComponent a => Color (Color4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

color :: Color4 a -> IO () #

colorv :: Ptr (Color4 a) -> IO () #

VertexAttribComponent a => VertexAttrib (Color4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Storable a => Storable (Color4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

sizeOf :: Color4 a -> Int

alignment :: Color4 a -> Int

peekElemOff :: Ptr (Color4 a) -> Int -> IO (Color4 a)

pokeElemOff :: Ptr (Color4 a) -> Int -> Color4 a -> IO ()

peekByteOff :: Ptr b -> Int -> IO (Color4 a)

pokeByteOff :: Ptr b -> Int -> Color4 a -> IO ()

peek :: Ptr (Color4 a) -> IO (Color4 a)

poke :: Ptr (Color4 a) -> Color4 a -> IO ()

Bounded a => Bounded (Color4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

minBound :: Color4 a

maxBound :: Color4 a

Ix a => Ix (Color4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

range :: (Color4 a, Color4 a) -> [Color4 a]

index :: (Color4 a, Color4 a) -> Color4 a -> Int

unsafeIndex :: (Color4 a, Color4 a) -> Color4 a -> Int

inRange :: (Color4 a, Color4 a) -> Color4 a -> Bool

rangeSize :: (Color4 a, Color4 a) -> Int

unsafeRangeSize :: (Color4 a, Color4 a) -> Int

Read a => Read (Color4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

readsPrec :: Int -> ReadS (Color4 a)

readList :: ReadS [Color4 a]

readPrec :: ReadPrec (Color4 a)

readListPrec :: ReadPrec [Color4 a]

Show a => Show (Color4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

showsPrec :: Int -> Color4 a -> ShowS

show :: Color4 a -> String

showList :: [Color4 a] -> ShowS

Eq a => Eq (Color4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

(==) :: Color4 a -> Color4 a -> Bool

(/=) :: Color4 a -> Color4 a -> Bool

Ord a => Ord (Color4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

compare :: Color4 a -> Color4 a -> Ordering

(<) :: Color4 a -> Color4 a -> Bool

(<=) :: Color4 a -> Color4 a -> Bool

(>) :: Color4 a -> Color4 a -> Bool

(>=) :: Color4 a -> Color4 a -> Bool

max :: Color4 a -> Color4 a -> Color4 a

min :: Color4 a -> Color4 a -> Color4 a

newtype FogCoord1 a #

Constructors

FogCoord1 a 

Instances

Instances details
Foldable FogCoord1 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

fold :: Monoid m => FogCoord1 m -> m

foldMap :: Monoid m => (a -> m) -> FogCoord1 a -> m

foldMap' :: Monoid m => (a -> m) -> FogCoord1 a -> m

foldr :: (a -> b -> b) -> b -> FogCoord1 a -> b

foldr' :: (a -> b -> b) -> b -> FogCoord1 a -> b

foldl :: (b -> a -> b) -> b -> FogCoord1 a -> b

foldl' :: (b -> a -> b) -> b -> FogCoord1 a -> b

foldr1 :: (a -> a -> a) -> FogCoord1 a -> a

foldl1 :: (a -> a -> a) -> FogCoord1 a -> a

toList :: FogCoord1 a -> [a]

null :: FogCoord1 a -> Bool

length :: FogCoord1 a -> Int

elem :: Eq a => a -> FogCoord1 a -> Bool

maximum :: Ord a => FogCoord1 a -> a

minimum :: Ord a => FogCoord1 a -> a

sum :: Num a => FogCoord1 a -> a

product :: Num a => FogCoord1 a -> a

Traversable FogCoord1 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

traverse :: Applicative f => (a -> f b) -> FogCoord1 a -> f (FogCoord1 b)

sequenceA :: Applicative f => FogCoord1 (f a) -> f (FogCoord1 a)

mapM :: Monad m => (a -> m b) -> FogCoord1 a -> m (FogCoord1 b)

sequence :: Monad m => FogCoord1 (m a) -> m (FogCoord1 a)

Applicative FogCoord1 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

pure :: a -> FogCoord1 a

(<*>) :: FogCoord1 (a -> b) -> FogCoord1 a -> FogCoord1 b

liftA2 :: (a -> b -> c) -> FogCoord1 a -> FogCoord1 b -> FogCoord1 c

(*>) :: FogCoord1 a -> FogCoord1 b -> FogCoord1 b

(<*) :: FogCoord1 a -> FogCoord1 b -> FogCoord1 a

Functor FogCoord1 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

fmap :: (a -> b) -> FogCoord1 a -> FogCoord1 b

(<$) :: a -> FogCoord1 b -> FogCoord1 a

UniformComponent a => Uniform (FogCoord1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

FogCoordComponent a => FogCoord (FogCoord1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

fogCoord :: FogCoord1 a -> IO () #

fogCoordv :: Ptr (FogCoord1 a) -> IO () #

VertexAttribComponent a => VertexAttrib (FogCoord1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Storable a => Storable (FogCoord1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

sizeOf :: FogCoord1 a -> Int

alignment :: FogCoord1 a -> Int

peekElemOff :: Ptr (FogCoord1 a) -> Int -> IO (FogCoord1 a)

pokeElemOff :: Ptr (FogCoord1 a) -> Int -> FogCoord1 a -> IO ()

peekByteOff :: Ptr b -> Int -> IO (FogCoord1 a)

pokeByteOff :: Ptr b -> Int -> FogCoord1 a -> IO ()

peek :: Ptr (FogCoord1 a) -> IO (FogCoord1 a)

poke :: Ptr (FogCoord1 a) -> FogCoord1 a -> IO ()

Bounded a => Bounded (FogCoord1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Ix a => Ix (FogCoord1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

range :: (FogCoord1 a, FogCoord1 a) -> [FogCoord1 a]

index :: (FogCoord1 a, FogCoord1 a) -> FogCoord1 a -> Int

unsafeIndex :: (FogCoord1 a, FogCoord1 a) -> FogCoord1 a -> Int

inRange :: (FogCoord1 a, FogCoord1 a) -> FogCoord1 a -> Bool

rangeSize :: (FogCoord1 a, FogCoord1 a) -> Int

unsafeRangeSize :: (FogCoord1 a, FogCoord1 a) -> Int

Read a => Read (FogCoord1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

readsPrec :: Int -> ReadS (FogCoord1 a)

readList :: ReadS [FogCoord1 a]

readPrec :: ReadPrec (FogCoord1 a)

readListPrec :: ReadPrec [FogCoord1 a]

Show a => Show (FogCoord1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

showsPrec :: Int -> FogCoord1 a -> ShowS

show :: FogCoord1 a -> String

showList :: [FogCoord1 a] -> ShowS

Eq a => Eq (FogCoord1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

(==) :: FogCoord1 a -> FogCoord1 a -> Bool

(/=) :: FogCoord1 a -> FogCoord1 a -> Bool

Ord a => Ord (FogCoord1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

compare :: FogCoord1 a -> FogCoord1 a -> Ordering

(<) :: FogCoord1 a -> FogCoord1 a -> Bool

(<=) :: FogCoord1 a -> FogCoord1 a -> Bool

(>) :: FogCoord1 a -> FogCoord1 a -> Bool

(>=) :: FogCoord1 a -> FogCoord1 a -> Bool

max :: FogCoord1 a -> FogCoord1 a -> FogCoord1 a

min :: FogCoord1 a -> FogCoord1 a -> FogCoord1 a

data Normal3 a #

Constructors

Normal3 !a !a !a 

Instances

Instances details
ControlPoint Normal3 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.ControlPoint

Methods

map1Target :: Domain d => Normal3 d -> GLenum

map2Target :: Domain d => Normal3 d -> GLenum

enableCap1 :: Domain d => Normal3 d -> EnableCap

enableCap2 :: Domain d => Normal3 d -> EnableCap

numComponents :: Domain d => Normal3 d -> Stride

peekControlPoint :: Domain d => Ptr (Normal3 d) -> IO (Normal3 d)

pokeControlPoint :: Domain d => Ptr (Normal3 d) -> Normal3 d -> IO ()

Foldable Normal3 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

fold :: Monoid m => Normal3 m -> m

foldMap :: Monoid m => (a -> m) -> Normal3 a -> m

foldMap' :: Monoid m => (a -> m) -> Normal3 a -> m

foldr :: (a -> b -> b) -> b -> Normal3 a -> b

foldr' :: (a -> b -> b) -> b -> Normal3 a -> b

foldl :: (b -> a -> b) -> b -> Normal3 a -> b

foldl' :: (b -> a -> b) -> b -> Normal3 a -> b

foldr1 :: (a -> a -> a) -> Normal3 a -> a

foldl1 :: (a -> a -> a) -> Normal3 a -> a

toList :: Normal3 a -> [a]

null :: Normal3 a -> Bool

length :: Normal3 a -> Int

elem :: Eq a => a -> Normal3 a -> Bool

maximum :: Ord a => Normal3 a -> a

minimum :: Ord a => Normal3 a -> a

sum :: Num a => Normal3 a -> a

product :: Num a => Normal3 a -> a

Traversable Normal3 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

traverse :: Applicative f => (a -> f b) -> Normal3 a -> f (Normal3 b)

sequenceA :: Applicative f => Normal3 (f a) -> f (Normal3 a)

mapM :: Monad m => (a -> m b) -> Normal3 a -> m (Normal3 b)

sequence :: Monad m => Normal3 (m a) -> m (Normal3 a)

Applicative Normal3 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

pure :: a -> Normal3 a

(<*>) :: Normal3 (a -> b) -> Normal3 a -> Normal3 b

liftA2 :: (a -> b -> c) -> Normal3 a -> Normal3 b -> Normal3 c

(*>) :: Normal3 a -> Normal3 b -> Normal3 b

(<*) :: Normal3 a -> Normal3 b -> Normal3 a

Functor Normal3 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

fmap :: (a -> b) -> Normal3 a -> Normal3 b

(<$) :: a -> Normal3 b -> Normal3 a

UniformComponent a => Uniform (Normal3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

Methods

uniform :: UniformLocation -> StateVar (Normal3 a) #

uniformv :: UniformLocation -> GLsizei -> Ptr (Normal3 a) -> IO () #

NormalComponent a => Normal (Normal3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

normal :: Normal3 a -> IO () #

normalv :: Ptr (Normal3 a) -> IO () #

VertexAttribComponent a => VertexAttrib (Normal3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Storable a => Storable (Normal3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

sizeOf :: Normal3 a -> Int

alignment :: Normal3 a -> Int

peekElemOff :: Ptr (Normal3 a) -> Int -> IO (Normal3 a)

pokeElemOff :: Ptr (Normal3 a) -> Int -> Normal3 a -> IO ()

peekByteOff :: Ptr b -> Int -> IO (Normal3 a)

pokeByteOff :: Ptr b -> Int -> Normal3 a -> IO ()

peek :: Ptr (Normal3 a) -> IO (Normal3 a)

poke :: Ptr (Normal3 a) -> Normal3 a -> IO ()

Bounded a => Bounded (Normal3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Ix a => Ix (Normal3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

range :: (Normal3 a, Normal3 a) -> [Normal3 a]

index :: (Normal3 a, Normal3 a) -> Normal3 a -> Int

unsafeIndex :: (Normal3 a, Normal3 a) -> Normal3 a -> Int

inRange :: (Normal3 a, Normal3 a) -> Normal3 a -> Bool

rangeSize :: (Normal3 a, Normal3 a) -> Int

unsafeRangeSize :: (Normal3 a, Normal3 a) -> Int

Read a => Read (Normal3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

readsPrec :: Int -> ReadS (Normal3 a)

readList :: ReadS [Normal3 a]

readPrec :: ReadPrec (Normal3 a)

readListPrec :: ReadPrec [Normal3 a]

Show a => Show (Normal3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

showsPrec :: Int -> Normal3 a -> ShowS

show :: Normal3 a -> String

showList :: [Normal3 a] -> ShowS

Eq a => Eq (Normal3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

(==) :: Normal3 a -> Normal3 a -> Bool

(/=) :: Normal3 a -> Normal3 a -> Bool

Ord a => Ord (Normal3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

compare :: Normal3 a -> Normal3 a -> Ordering

(<) :: Normal3 a -> Normal3 a -> Bool

(<=) :: Normal3 a -> Normal3 a -> Bool

(>) :: Normal3 a -> Normal3 a -> Bool

(>=) :: Normal3 a -> Normal3 a -> Bool

max :: Normal3 a -> Normal3 a -> Normal3 a

min :: Normal3 a -> Normal3 a -> Normal3 a

newtype TexCoord1 a #

Constructors

TexCoord1 a 

Instances

Instances details
ControlPoint TexCoord1 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.ControlPoint

Methods

map1Target :: Domain d => TexCoord1 d -> GLenum

map2Target :: Domain d => TexCoord1 d -> GLenum

enableCap1 :: Domain d => TexCoord1 d -> EnableCap

enableCap2 :: Domain d => TexCoord1 d -> EnableCap

numComponents :: Domain d => TexCoord1 d -> Stride

peekControlPoint :: Domain d => Ptr (TexCoord1 d) -> IO (TexCoord1 d)

pokeControlPoint :: Domain d => Ptr (TexCoord1 d) -> TexCoord1 d -> IO ()

Foldable TexCoord1 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

fold :: Monoid m => TexCoord1 m -> m

foldMap :: Monoid m => (a -> m) -> TexCoord1 a -> m

foldMap' :: Monoid m => (a -> m) -> TexCoord1 a -> m

foldr :: (a -> b -> b) -> b -> TexCoord1 a -> b

foldr' :: (a -> b -> b) -> b -> TexCoord1 a -> b

foldl :: (b -> a -> b) -> b -> TexCoord1 a -> b

foldl' :: (b -> a -> b) -> b -> TexCoord1 a -> b

foldr1 :: (a -> a -> a) -> TexCoord1 a -> a

foldl1 :: (a -> a -> a) -> TexCoord1 a -> a

toList :: TexCoord1 a -> [a]

null :: TexCoord1 a -> Bool

length :: TexCoord1 a -> Int

elem :: Eq a => a -> TexCoord1 a -> Bool

maximum :: Ord a => TexCoord1 a -> a

minimum :: Ord a => TexCoord1 a -> a

sum :: Num a => TexCoord1 a -> a

product :: Num a => TexCoord1 a -> a

Traversable TexCoord1 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

traverse :: Applicative f => (a -> f b) -> TexCoord1 a -> f (TexCoord1 b)

sequenceA :: Applicative f => TexCoord1 (f a) -> f (TexCoord1 a)

mapM :: Monad m => (a -> m b) -> TexCoord1 a -> m (TexCoord1 b)

sequence :: Monad m => TexCoord1 (m a) -> m (TexCoord1 a)

Applicative TexCoord1 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

pure :: a -> TexCoord1 a

(<*>) :: TexCoord1 (a -> b) -> TexCoord1 a -> TexCoord1 b

liftA2 :: (a -> b -> c) -> TexCoord1 a -> TexCoord1 b -> TexCoord1 c

(*>) :: TexCoord1 a -> TexCoord1 b -> TexCoord1 b

(<*) :: TexCoord1 a -> TexCoord1 b -> TexCoord1 a

Functor TexCoord1 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

fmap :: (a -> b) -> TexCoord1 a -> TexCoord1 b

(<$) :: a -> TexCoord1 b -> TexCoord1 a

UniformComponent a => Uniform (TexCoord1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

TexCoordComponent a => TexCoord (TexCoord1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

texCoord :: TexCoord1 a -> IO () #

texCoordv :: Ptr (TexCoord1 a) -> IO () #

multiTexCoord :: TextureUnit -> TexCoord1 a -> IO () #

multiTexCoordv :: TextureUnit -> Ptr (TexCoord1 a) -> IO () #

VertexAttribComponent a => VertexAttrib (TexCoord1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Storable a => Storable (TexCoord1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

sizeOf :: TexCoord1 a -> Int

alignment :: TexCoord1 a -> Int

peekElemOff :: Ptr (TexCoord1 a) -> Int -> IO (TexCoord1 a)

pokeElemOff :: Ptr (TexCoord1 a) -> Int -> TexCoord1 a -> IO ()

peekByteOff :: Ptr b -> Int -> IO (TexCoord1 a)

pokeByteOff :: Ptr b -> Int -> TexCoord1 a -> IO ()

peek :: Ptr (TexCoord1 a) -> IO (TexCoord1 a)

poke :: Ptr (TexCoord1 a) -> TexCoord1 a -> IO ()

Bounded a => Bounded (TexCoord1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Ix a => Ix (TexCoord1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

range :: (TexCoord1 a, TexCoord1 a) -> [TexCoord1 a]

index :: (TexCoord1 a, TexCoord1 a) -> TexCoord1 a -> Int

unsafeIndex :: (TexCoord1 a, TexCoord1 a) -> TexCoord1 a -> Int

inRange :: (TexCoord1 a, TexCoord1 a) -> TexCoord1 a -> Bool

rangeSize :: (TexCoord1 a, TexCoord1 a) -> Int

unsafeRangeSize :: (TexCoord1 a, TexCoord1 a) -> Int

Read a => Read (TexCoord1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

readsPrec :: Int -> ReadS (TexCoord1 a)

readList :: ReadS [TexCoord1 a]

readPrec :: ReadPrec (TexCoord1 a)

readListPrec :: ReadPrec [TexCoord1 a]

Show a => Show (TexCoord1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

showsPrec :: Int -> TexCoord1 a -> ShowS

show :: TexCoord1 a -> String

showList :: [TexCoord1 a] -> ShowS

Eq a => Eq (TexCoord1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

(==) :: TexCoord1 a -> TexCoord1 a -> Bool

(/=) :: TexCoord1 a -> TexCoord1 a -> Bool

Ord a => Ord (TexCoord1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

compare :: TexCoord1 a -> TexCoord1 a -> Ordering

(<) :: TexCoord1 a -> TexCoord1 a -> Bool

(<=) :: TexCoord1 a -> TexCoord1 a -> Bool

(>) :: TexCoord1 a -> TexCoord1 a -> Bool

(>=) :: TexCoord1 a -> TexCoord1 a -> Bool

max :: TexCoord1 a -> TexCoord1 a -> TexCoord1 a

min :: TexCoord1 a -> TexCoord1 a -> TexCoord1 a

data TexCoord2 a #

Constructors

TexCoord2 !a !a 

Instances

Instances details
ControlPoint TexCoord2 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.ControlPoint

Methods

map1Target :: Domain d => TexCoord2 d -> GLenum

map2Target :: Domain d => TexCoord2 d -> GLenum

enableCap1 :: Domain d => TexCoord2 d -> EnableCap

enableCap2 :: Domain d => TexCoord2 d -> EnableCap

numComponents :: Domain d => TexCoord2 d -> Stride

peekControlPoint :: Domain d => Ptr (TexCoord2 d) -> IO (TexCoord2 d)

pokeControlPoint :: Domain d => Ptr (TexCoord2 d) -> TexCoord2 d -> IO ()

Foldable TexCoord2 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

fold :: Monoid m => TexCoord2 m -> m

foldMap :: Monoid m => (a -> m) -> TexCoord2 a -> m

foldMap' :: Monoid m => (a -> m) -> TexCoord2 a -> m

foldr :: (a -> b -> b) -> b -> TexCoord2 a -> b

foldr' :: (a -> b -> b) -> b -> TexCoord2 a -> b

foldl :: (b -> a -> b) -> b -> TexCoord2 a -> b

foldl' :: (b -> a -> b) -> b -> TexCoord2 a -> b

foldr1 :: (a -> a -> a) -> TexCoord2 a -> a

foldl1 :: (a -> a -> a) -> TexCoord2 a -> a

toList :: TexCoord2 a -> [a]

null :: TexCoord2 a -> Bool

length :: TexCoord2 a -> Int

elem :: Eq a => a -> TexCoord2 a -> Bool

maximum :: Ord a => TexCoord2 a -> a

minimum :: Ord a => TexCoord2 a -> a

sum :: Num a => TexCoord2 a -> a

product :: Num a => TexCoord2 a -> a

Traversable TexCoord2 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

traverse :: Applicative f => (a -> f b) -> TexCoord2 a -> f (TexCoord2 b)

sequenceA :: Applicative f => TexCoord2 (f a) -> f (TexCoord2 a)

mapM :: Monad m => (a -> m b) -> TexCoord2 a -> m (TexCoord2 b)

sequence :: Monad m => TexCoord2 (m a) -> m (TexCoord2 a)

Applicative TexCoord2 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

pure :: a -> TexCoord2 a

(<*>) :: TexCoord2 (a -> b) -> TexCoord2 a -> TexCoord2 b

liftA2 :: (a -> b -> c) -> TexCoord2 a -> TexCoord2 b -> TexCoord2 c

(*>) :: TexCoord2 a -> TexCoord2 b -> TexCoord2 b

(<*) :: TexCoord2 a -> TexCoord2 b -> TexCoord2 a

Functor TexCoord2 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

fmap :: (a -> b) -> TexCoord2 a -> TexCoord2 b

(<$) :: a -> TexCoord2 b -> TexCoord2 a

UniformComponent a => Uniform (TexCoord2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

TexCoordComponent a => TexCoord (TexCoord2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

texCoord :: TexCoord2 a -> IO () #

texCoordv :: Ptr (TexCoord2 a) -> IO () #

multiTexCoord :: TextureUnit -> TexCoord2 a -> IO () #

multiTexCoordv :: TextureUnit -> Ptr (TexCoord2 a) -> IO () #

VertexAttribComponent a => VertexAttrib (TexCoord2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Storable a => Storable (TexCoord2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

sizeOf :: TexCoord2 a -> Int

alignment :: TexCoord2 a -> Int

peekElemOff :: Ptr (TexCoord2 a) -> Int -> IO (TexCoord2 a)

pokeElemOff :: Ptr (TexCoord2 a) -> Int -> TexCoord2 a -> IO ()

peekByteOff :: Ptr b -> Int -> IO (TexCoord2 a)

pokeByteOff :: Ptr b -> Int -> TexCoord2 a -> IO ()

peek :: Ptr (TexCoord2 a) -> IO (TexCoord2 a)

poke :: Ptr (TexCoord2 a) -> TexCoord2 a -> IO ()

Bounded a => Bounded (TexCoord2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Ix a => Ix (TexCoord2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

range :: (TexCoord2 a, TexCoord2 a) -> [TexCoord2 a]

index :: (TexCoord2 a, TexCoord2 a) -> TexCoord2 a -> Int

unsafeIndex :: (TexCoord2 a, TexCoord2 a) -> TexCoord2 a -> Int

inRange :: (TexCoord2 a, TexCoord2 a) -> TexCoord2 a -> Bool

rangeSize :: (TexCoord2 a, TexCoord2 a) -> Int

unsafeRangeSize :: (TexCoord2 a, TexCoord2 a) -> Int

Read a => Read (TexCoord2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

readsPrec :: Int -> ReadS (TexCoord2 a)

readList :: ReadS [TexCoord2 a]

readPrec :: ReadPrec (TexCoord2 a)

readListPrec :: ReadPrec [TexCoord2 a]

Show a => Show (TexCoord2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

showsPrec :: Int -> TexCoord2 a -> ShowS

show :: TexCoord2 a -> String

showList :: [TexCoord2 a] -> ShowS

Eq a => Eq (TexCoord2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

(==) :: TexCoord2 a -> TexCoord2 a -> Bool

(/=) :: TexCoord2 a -> TexCoord2 a -> Bool

Ord a => Ord (TexCoord2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

compare :: TexCoord2 a -> TexCoord2 a -> Ordering

(<) :: TexCoord2 a -> TexCoord2 a -> Bool

(<=) :: TexCoord2 a -> TexCoord2 a -> Bool

(>) :: TexCoord2 a -> TexCoord2 a -> Bool

(>=) :: TexCoord2 a -> TexCoord2 a -> Bool

max :: TexCoord2 a -> TexCoord2 a -> TexCoord2 a

min :: TexCoord2 a -> TexCoord2 a -> TexCoord2 a

data TexCoord3 a #

Constructors

TexCoord3 !a !a !a 

Instances

Instances details
ControlPoint TexCoord3 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.ControlPoint

Methods

map1Target :: Domain d => TexCoord3 d -> GLenum

map2Target :: Domain d => TexCoord3 d -> GLenum

enableCap1 :: Domain d => TexCoord3 d -> EnableCap

enableCap2 :: Domain d => TexCoord3 d -> EnableCap

numComponents :: Domain d => TexCoord3 d -> Stride

peekControlPoint :: Domain d => Ptr (TexCoord3 d) -> IO (TexCoord3 d)

pokeControlPoint :: Domain d => Ptr (TexCoord3 d) -> TexCoord3 d -> IO ()

Foldable TexCoord3 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

fold :: Monoid m => TexCoord3 m -> m

foldMap :: Monoid m => (a -> m) -> TexCoord3 a -> m

foldMap' :: Monoid m => (a -> m) -> TexCoord3 a -> m

foldr :: (a -> b -> b) -> b -> TexCoord3 a -> b

foldr' :: (a -> b -> b) -> b -> TexCoord3 a -> b

foldl :: (b -> a -> b) -> b -> TexCoord3 a -> b

foldl' :: (b -> a -> b) -> b -> TexCoord3 a -> b

foldr1 :: (a -> a -> a) -> TexCoord3 a -> a

foldl1 :: (a -> a -> a) -> TexCoord3 a -> a

toList :: TexCoord3 a -> [a]

null :: TexCoord3 a -> Bool

length :: TexCoord3 a -> Int

elem :: Eq a => a -> TexCoord3 a -> Bool

maximum :: Ord a => TexCoord3 a -> a

minimum :: Ord a => TexCoord3 a -> a

sum :: Num a => TexCoord3 a -> a

product :: Num a => TexCoord3 a -> a

Traversable TexCoord3 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

traverse :: Applicative f => (a -> f b) -> TexCoord3 a -> f (TexCoord3 b)

sequenceA :: Applicative f => TexCoord3 (f a) -> f (TexCoord3 a)

mapM :: Monad m => (a -> m b) -> TexCoord3 a -> m (TexCoord3 b)

sequence :: Monad m => TexCoord3 (m a) -> m (TexCoord3 a)

Applicative TexCoord3 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

pure :: a -> TexCoord3 a

(<*>) :: TexCoord3 (a -> b) -> TexCoord3 a -> TexCoord3 b

liftA2 :: (a -> b -> c) -> TexCoord3 a -> TexCoord3 b -> TexCoord3 c

(*>) :: TexCoord3 a -> TexCoord3 b -> TexCoord3 b

(<*) :: TexCoord3 a -> TexCoord3 b -> TexCoord3 a

Functor TexCoord3 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

fmap :: (a -> b) -> TexCoord3 a -> TexCoord3 b

(<$) :: a -> TexCoord3 b -> TexCoord3 a

UniformComponent a => Uniform (TexCoord3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

TexCoordComponent a => TexCoord (TexCoord3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

texCoord :: TexCoord3 a -> IO () #

texCoordv :: Ptr (TexCoord3 a) -> IO () #

multiTexCoord :: TextureUnit -> TexCoord3 a -> IO () #

multiTexCoordv :: TextureUnit -> Ptr (TexCoord3 a) -> IO () #

VertexAttribComponent a => VertexAttrib (TexCoord3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Storable a => Storable (TexCoord3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

sizeOf :: TexCoord3 a -> Int

alignment :: TexCoord3 a -> Int

peekElemOff :: Ptr (TexCoord3 a) -> Int -> IO (TexCoord3 a)

pokeElemOff :: Ptr (TexCoord3 a) -> Int -> TexCoord3 a -> IO ()

peekByteOff :: Ptr b -> Int -> IO (TexCoord3 a)

pokeByteOff :: Ptr b -> Int -> TexCoord3 a -> IO ()

peek :: Ptr (TexCoord3 a) -> IO (TexCoord3 a)

poke :: Ptr (TexCoord3 a) -> TexCoord3 a -> IO ()

Bounded a => Bounded (TexCoord3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Ix a => Ix (TexCoord3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

range :: (TexCoord3 a, TexCoord3 a) -> [TexCoord3 a]

index :: (TexCoord3 a, TexCoord3 a) -> TexCoord3 a -> Int

unsafeIndex :: (TexCoord3 a, TexCoord3 a) -> TexCoord3 a -> Int

inRange :: (TexCoord3 a, TexCoord3 a) -> TexCoord3 a -> Bool

rangeSize :: (TexCoord3 a, TexCoord3 a) -> Int

unsafeRangeSize :: (TexCoord3 a, TexCoord3 a) -> Int

Read a => Read (TexCoord3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

readsPrec :: Int -> ReadS (TexCoord3 a)

readList :: ReadS [TexCoord3 a]

readPrec :: ReadPrec (TexCoord3 a)

readListPrec :: ReadPrec [TexCoord3 a]

Show a => Show (TexCoord3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

showsPrec :: Int -> TexCoord3 a -> ShowS

show :: TexCoord3 a -> String

showList :: [TexCoord3 a] -> ShowS

Eq a => Eq (TexCoord3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

(==) :: TexCoord3 a -> TexCoord3 a -> Bool

(/=) :: TexCoord3 a -> TexCoord3 a -> Bool

Ord a => Ord (TexCoord3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

compare :: TexCoord3 a -> TexCoord3 a -> Ordering

(<) :: TexCoord3 a -> TexCoord3 a -> Bool

(<=) :: TexCoord3 a -> TexCoord3 a -> Bool

(>) :: TexCoord3 a -> TexCoord3 a -> Bool

(>=) :: TexCoord3 a -> TexCoord3 a -> Bool

max :: TexCoord3 a -> TexCoord3 a -> TexCoord3 a

min :: TexCoord3 a -> TexCoord3 a -> TexCoord3 a

data TexCoord4 a #

Constructors

TexCoord4 !a !a !a !a 

Instances

Instances details
ControlPoint TexCoord4 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.ControlPoint

Methods

map1Target :: Domain d => TexCoord4 d -> GLenum

map2Target :: Domain d => TexCoord4 d -> GLenum

enableCap1 :: Domain d => TexCoord4 d -> EnableCap

enableCap2 :: Domain d => TexCoord4 d -> EnableCap

numComponents :: Domain d => TexCoord4 d -> Stride

peekControlPoint :: Domain d => Ptr (TexCoord4 d) -> IO (TexCoord4 d)

pokeControlPoint :: Domain d => Ptr (TexCoord4 d) -> TexCoord4 d -> IO ()

Foldable TexCoord4 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

fold :: Monoid m => TexCoord4 m -> m

foldMap :: Monoid m => (a -> m) -> TexCoord4 a -> m

foldMap' :: Monoid m => (a -> m) -> TexCoord4 a -> m

foldr :: (a -> b -> b) -> b -> TexCoord4 a -> b

foldr' :: (a -> b -> b) -> b -> TexCoord4 a -> b

foldl :: (b -> a -> b) -> b -> TexCoord4 a -> b

foldl' :: (b -> a -> b) -> b -> TexCoord4 a -> b

foldr1 :: (a -> a -> a) -> TexCoord4 a -> a

foldl1 :: (a -> a -> a) -> TexCoord4 a -> a

toList :: TexCoord4 a -> [a]

null :: TexCoord4 a -> Bool

length :: TexCoord4 a -> Int

elem :: Eq a => a -> TexCoord4 a -> Bool

maximum :: Ord a => TexCoord4 a -> a

minimum :: Ord a => TexCoord4 a -> a

sum :: Num a => TexCoord4 a -> a

product :: Num a => TexCoord4 a -> a

Traversable TexCoord4 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

traverse :: Applicative f => (a -> f b) -> TexCoord4 a -> f (TexCoord4 b)

sequenceA :: Applicative f => TexCoord4 (f a) -> f (TexCoord4 a)

mapM :: Monad m => (a -> m b) -> TexCoord4 a -> m (TexCoord4 b)

sequence :: Monad m => TexCoord4 (m a) -> m (TexCoord4 a)

Applicative TexCoord4 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

pure :: a -> TexCoord4 a

(<*>) :: TexCoord4 (a -> b) -> TexCoord4 a -> TexCoord4 b

liftA2 :: (a -> b -> c) -> TexCoord4 a -> TexCoord4 b -> TexCoord4 c

(*>) :: TexCoord4 a -> TexCoord4 b -> TexCoord4 b

(<*) :: TexCoord4 a -> TexCoord4 b -> TexCoord4 a

Functor TexCoord4 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

fmap :: (a -> b) -> TexCoord4 a -> TexCoord4 b

(<$) :: a -> TexCoord4 b -> TexCoord4 a

UniformComponent a => Uniform (TexCoord4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Shaders.Uniform

TexCoordComponent a => TexCoord (TexCoord4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

texCoord :: TexCoord4 a -> IO () #

texCoordv :: Ptr (TexCoord4 a) -> IO () #

multiTexCoord :: TextureUnit -> TexCoord4 a -> IO () #

multiTexCoordv :: TextureUnit -> Ptr (TexCoord4 a) -> IO () #

VertexAttribComponent a => VertexAttrib (TexCoord4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Storable a => Storable (TexCoord4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

sizeOf :: TexCoord4 a -> Int

alignment :: TexCoord4 a -> Int

peekElemOff :: Ptr (TexCoord4 a) -> Int -> IO (TexCoord4 a)

pokeElemOff :: Ptr (TexCoord4 a) -> Int -> TexCoord4 a -> IO ()

peekByteOff :: Ptr b -> Int -> IO (TexCoord4 a)

pokeByteOff :: Ptr b -> Int -> TexCoord4 a -> IO ()

peek :: Ptr (TexCoord4 a) -> IO (TexCoord4 a)

poke :: Ptr (TexCoord4 a) -> TexCoord4 a -> IO ()

Bounded a => Bounded (TexCoord4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Ix a => Ix (TexCoord4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

range :: (TexCoord4 a, TexCoord4 a) -> [TexCoord4 a]

index :: (TexCoord4 a, TexCoord4 a) -> TexCoord4 a -> Int

unsafeIndex :: (TexCoord4 a, TexCoord4 a) -> TexCoord4 a -> Int

inRange :: (TexCoord4 a, TexCoord4 a) -> TexCoord4 a -> Bool

rangeSize :: (TexCoord4 a, TexCoord4 a) -> Int

unsafeRangeSize :: (TexCoord4 a, TexCoord4 a) -> Int

Read a => Read (TexCoord4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

readsPrec :: Int -> ReadS (TexCoord4 a)

readList :: ReadS [TexCoord4 a]

readPrec :: ReadPrec (TexCoord4 a)

readListPrec :: ReadPrec [TexCoord4 a]

Show a => Show (TexCoord4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

showsPrec :: Int -> TexCoord4 a -> ShowS

show :: TexCoord4 a -> String

showList :: [TexCoord4 a] -> ShowS

Eq a => Eq (TexCoord4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

(==) :: TexCoord4 a -> TexCoord4 a -> Bool

(/=) :: TexCoord4 a -> TexCoord4 a -> Bool

Ord a => Ord (TexCoord4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexAttributes

Methods

compare :: TexCoord4 a -> TexCoord4 a -> Ordering

(<) :: TexCoord4 a -> TexCoord4 a -> Bool

(<=) :: TexCoord4 a -> TexCoord4 a -> Bool

(>) :: TexCoord4 a -> TexCoord4 a -> Bool

(>=) :: TexCoord4 a -> TexCoord4 a -> Bool

max :: TexCoord4 a -> TexCoord4 a -> TexCoord4 a

min :: TexCoord4 a -> TexCoord4 a -> TexCoord4 a

class ColorComponent a #

Minimal complete definition

color3, color4, color3v, color4v, secondaryColor3, secondaryColor3v

Instances

Instances details
ColorComponent GLbyte 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

color3 :: GLbyte -> GLbyte -> GLbyte -> IO ()

color4 :: GLbyte -> GLbyte -> GLbyte -> GLbyte -> IO ()

color3v :: Ptr GLbyte -> IO ()

color4v :: Ptr GLbyte -> IO ()

secondaryColor3 :: GLbyte -> GLbyte -> GLbyte -> IO ()

secondaryColor3v :: Ptr GLbyte -> IO ()

ColorComponent GLdouble 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

color3 :: GLdouble -> GLdouble -> GLdouble -> IO ()

color4 :: GLdouble -> GLdouble -> GLdouble -> GLdouble -> IO ()

color3v :: Ptr GLdouble -> IO ()

color4v :: Ptr GLdouble -> IO ()

secondaryColor3 :: GLdouble -> GLdouble -> GLdouble -> IO ()

secondaryColor3v :: Ptr GLdouble -> IO ()

ColorComponent GLfloat 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

color3 :: GLfloat -> GLfloat -> GLfloat -> IO ()

color4 :: GLfloat -> GLfloat -> GLfloat -> GLfloat -> IO ()

color3v :: Ptr GLfloat -> IO ()

color4v :: Ptr GLfloat -> IO ()

secondaryColor3 :: GLfloat -> GLfloat -> GLfloat -> IO ()

secondaryColor3v :: Ptr GLfloat -> IO ()

ColorComponent GLint 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

color3 :: GLint -> GLint -> GLint -> IO ()

color4 :: GLint -> GLint -> GLint -> GLint -> IO ()

color3v :: Ptr GLint -> IO ()

color4v :: Ptr GLint -> IO ()

secondaryColor3 :: GLint -> GLint -> GLint -> IO ()

secondaryColor3v :: Ptr GLint -> IO ()

ColorComponent GLshort 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

color3 :: GLshort -> GLshort -> GLshort -> IO ()

color4 :: GLshort -> GLshort -> GLshort -> GLshort -> IO ()

color3v :: Ptr GLshort -> IO ()

color4v :: Ptr GLshort -> IO ()

secondaryColor3 :: GLshort -> GLshort -> GLshort -> IO ()

secondaryColor3v :: Ptr GLshort -> IO ()

ColorComponent GLubyte 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

color3 :: GLubyte -> GLubyte -> GLubyte -> IO ()

color4 :: GLubyte -> GLubyte -> GLubyte -> GLubyte -> IO ()

color3v :: Ptr GLubyte -> IO ()

color4v :: Ptr GLubyte -> IO ()

secondaryColor3 :: GLubyte -> GLubyte -> GLubyte -> IO ()

secondaryColor3v :: Ptr GLubyte -> IO ()

ColorComponent GLuint 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

color3 :: GLuint -> GLuint -> GLuint -> IO ()

color4 :: GLuint -> GLuint -> GLuint -> GLuint -> IO ()

color3v :: Ptr GLuint -> IO ()

color4v :: Ptr GLuint -> IO ()

secondaryColor3 :: GLuint -> GLuint -> GLuint -> IO ()

secondaryColor3v :: Ptr GLuint -> IO ()

ColorComponent GLushort 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

color3 :: GLushort -> GLushort -> GLushort -> IO ()

color4 :: GLushort -> GLushort -> GLushort -> GLushort -> IO ()

color3v :: Ptr GLushort -> IO ()

color4v :: Ptr GLushort -> IO ()

secondaryColor3 :: GLushort -> GLushort -> GLushort -> IO ()

secondaryColor3v :: Ptr GLushort -> IO ()

class FogCoordComponent a #

Minimal complete definition

fogCoord1, fogCoord1v

Instances

Instances details
FogCoordComponent GLdouble 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

fogCoord1 :: GLdouble -> IO ()

fogCoord1v :: Ptr GLdouble -> IO ()

FogCoordComponent GLfloat 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

fogCoord1 :: GLfloat -> IO ()

fogCoord1v :: Ptr GLfloat -> IO ()

class Index a where #

Methods

index :: a -> IO () #

indexv :: Ptr a -> IO () #

Instances

Instances details
IndexComponent a => Index (Index1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

index :: Index1 a -> IO () #

indexv :: Ptr (Index1 a) -> IO () #

class IndexComponent a #

Minimal complete definition

index1, index1v

Instances

Instances details
IndexComponent GLdouble 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

index1 :: GLdouble -> IO ()

index1v :: Ptr GLdouble -> IO ()

IndexComponent GLfloat 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

index1 :: GLfloat -> IO ()

index1v :: Ptr GLfloat -> IO ()

IndexComponent GLint 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

index1 :: GLint -> IO ()

index1v :: Ptr GLint -> IO ()

IndexComponent GLshort 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

index1 :: GLshort -> IO ()

index1v :: Ptr GLshort -> IO ()

IndexComponent GLubyte 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

index1 :: GLubyte -> IO ()

index1v :: Ptr GLubyte -> IO ()

class Normal a where #

Methods

normal :: a -> IO () #

normalv :: Ptr a -> IO () #

Instances

Instances details
NormalComponent a => Normal (Normal3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

normal :: Normal3 a -> IO () #

normalv :: Ptr (Normal3 a) -> IO () #

class NormalComponent a #

Minimal complete definition

normal3, normal3v

Instances

Instances details
NormalComponent GLbyte 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

normal3 :: GLbyte -> GLbyte -> GLbyte -> IO ()

normal3v :: Ptr GLbyte -> IO ()

NormalComponent GLdouble 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

normal3 :: GLdouble -> GLdouble -> GLdouble -> IO ()

normal3v :: Ptr GLdouble -> IO ()

NormalComponent GLfloat 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

normal3 :: GLfloat -> GLfloat -> GLfloat -> IO ()

normal3v :: Ptr GLfloat -> IO ()

NormalComponent GLint 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

normal3 :: GLint -> GLint -> GLint -> IO ()

normal3v :: Ptr GLint -> IO ()

NormalComponent GLshort 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

normal3 :: GLshort -> GLshort -> GLshort -> IO ()

normal3v :: Ptr GLshort -> IO ()

class SecondaryColor a where #

Methods

secondaryColor :: a -> IO () #

secondaryColorv :: Ptr a -> IO () #

Instances

Instances details
ColorComponent a => SecondaryColor (Color3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

secondaryColor :: Color3 a -> IO () #

secondaryColorv :: Ptr (Color3 a) -> IO () #

class TexCoord a where #

Methods

texCoord :: a -> IO () #

texCoordv :: Ptr a -> IO () #

multiTexCoord :: TextureUnit -> a -> IO () #

multiTexCoordv :: TextureUnit -> Ptr a -> IO () #

Instances

Instances details
TexCoordComponent a => TexCoord (TexCoord1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

texCoord :: TexCoord1 a -> IO () #

texCoordv :: Ptr (TexCoord1 a) -> IO () #

multiTexCoord :: TextureUnit -> TexCoord1 a -> IO () #

multiTexCoordv :: TextureUnit -> Ptr (TexCoord1 a) -> IO () #

TexCoordComponent a => TexCoord (TexCoord2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

texCoord :: TexCoord2 a -> IO () #

texCoordv :: Ptr (TexCoord2 a) -> IO () #

multiTexCoord :: TextureUnit -> TexCoord2 a -> IO () #

multiTexCoordv :: TextureUnit -> Ptr (TexCoord2 a) -> IO () #

TexCoordComponent a => TexCoord (TexCoord3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

texCoord :: TexCoord3 a -> IO () #

texCoordv :: Ptr (TexCoord3 a) -> IO () #

multiTexCoord :: TextureUnit -> TexCoord3 a -> IO () #

multiTexCoordv :: TextureUnit -> Ptr (TexCoord3 a) -> IO () #

TexCoordComponent a => TexCoord (TexCoord4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

texCoord :: TexCoord4 a -> IO () #

texCoordv :: Ptr (TexCoord4 a) -> IO () #

multiTexCoord :: TextureUnit -> TexCoord4 a -> IO () #

multiTexCoordv :: TextureUnit -> Ptr (TexCoord4 a) -> IO () #

class TexCoordComponent a #

Minimal complete definition

texCoord1, texCoord2, texCoord3, texCoord4, texCoord1v, texCoord2v, texCoord3v, texCoord4v, multiTexCoord1, multiTexCoord2, multiTexCoord3, multiTexCoord4, multiTexCoord1v, multiTexCoord2v, multiTexCoord3v, multiTexCoord4v

Instances

Instances details
TexCoordComponent GLdouble 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

texCoord1 :: GLdouble -> IO ()

texCoord2 :: GLdouble -> GLdouble -> IO ()

texCoord3 :: GLdouble -> GLdouble -> GLdouble -> IO ()

texCoord4 :: GLdouble -> GLdouble -> GLdouble -> GLdouble -> IO ()

texCoord1v :: Ptr GLdouble -> IO ()

texCoord2v :: Ptr GLdouble -> IO ()

texCoord3v :: Ptr GLdouble -> IO ()

texCoord4v :: Ptr GLdouble -> IO ()

multiTexCoord1 :: GLenum -> GLdouble -> IO ()

multiTexCoord2 :: GLenum -> GLdouble -> GLdouble -> IO ()

multiTexCoord3 :: GLenum -> GLdouble -> GLdouble -> GLdouble -> IO ()

multiTexCoord4 :: GLenum -> GLdouble -> GLdouble -> GLdouble -> GLdouble -> IO ()

multiTexCoord1v :: GLenum -> Ptr GLdouble -> IO ()

multiTexCoord2v :: GLenum -> Ptr GLdouble -> IO ()

multiTexCoord3v :: GLenum -> Ptr GLdouble -> IO ()

multiTexCoord4v :: GLenum -> Ptr GLdouble -> IO ()

TexCoordComponent GLfloat 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

texCoord1 :: GLfloat -> IO ()

texCoord2 :: GLfloat -> GLfloat -> IO ()

texCoord3 :: GLfloat -> GLfloat -> GLfloat -> IO ()

texCoord4 :: GLfloat -> GLfloat -> GLfloat -> GLfloat -> IO ()

texCoord1v :: Ptr GLfloat -> IO ()

texCoord2v :: Ptr GLfloat -> IO ()

texCoord3v :: Ptr GLfloat -> IO ()

texCoord4v :: Ptr GLfloat -> IO ()

multiTexCoord1 :: GLenum -> GLfloat -> IO ()

multiTexCoord2 :: GLenum -> GLfloat -> GLfloat -> IO ()

multiTexCoord3 :: GLenum -> GLfloat -> GLfloat -> GLfloat -> IO ()

multiTexCoord4 :: GLenum -> GLfloat -> GLfloat -> GLfloat -> GLfloat -> IO ()

multiTexCoord1v :: GLenum -> Ptr GLfloat -> IO ()

multiTexCoord2v :: GLenum -> Ptr GLfloat -> IO ()

multiTexCoord3v :: GLenum -> Ptr GLfloat -> IO ()

multiTexCoord4v :: GLenum -> Ptr GLfloat -> IO ()

TexCoordComponent GLint 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

texCoord1 :: GLint -> IO ()

texCoord2 :: GLint -> GLint -> IO ()

texCoord3 :: GLint -> GLint -> GLint -> IO ()

texCoord4 :: GLint -> GLint -> GLint -> GLint -> IO ()

texCoord1v :: Ptr GLint -> IO ()

texCoord2v :: Ptr GLint -> IO ()

texCoord3v :: Ptr GLint -> IO ()

texCoord4v :: Ptr GLint -> IO ()

multiTexCoord1 :: GLenum -> GLint -> IO ()

multiTexCoord2 :: GLenum -> GLint -> GLint -> IO ()

multiTexCoord3 :: GLenum -> GLint -> GLint -> GLint -> IO ()

multiTexCoord4 :: GLenum -> GLint -> GLint -> GLint -> GLint -> IO ()

multiTexCoord1v :: GLenum -> Ptr GLint -> IO ()

multiTexCoord2v :: GLenum -> Ptr GLint -> IO ()

multiTexCoord3v :: GLenum -> Ptr GLint -> IO ()

multiTexCoord4v :: GLenum -> Ptr GLint -> IO ()

TexCoordComponent GLshort 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

texCoord1 :: GLshort -> IO ()

texCoord2 :: GLshort -> GLshort -> IO ()

texCoord3 :: GLshort -> GLshort -> GLshort -> IO ()

texCoord4 :: GLshort -> GLshort -> GLshort -> GLshort -> IO ()

texCoord1v :: Ptr GLshort -> IO ()

texCoord2v :: Ptr GLshort -> IO ()

texCoord3v :: Ptr GLshort -> IO ()

texCoord4v :: Ptr GLshort -> IO ()

multiTexCoord1 :: GLenum -> GLshort -> IO ()

multiTexCoord2 :: GLenum -> GLshort -> GLshort -> IO ()

multiTexCoord3 :: GLenum -> GLshort -> GLshort -> GLshort -> IO ()

multiTexCoord4 :: GLenum -> GLshort -> GLshort -> GLshort -> GLshort -> IO ()

multiTexCoord1v :: GLenum -> Ptr GLshort -> IO ()

multiTexCoord2v :: GLenum -> Ptr GLshort -> IO ()

multiTexCoord3v :: GLenum -> Ptr GLshort -> IO ()

multiTexCoord4v :: GLenum -> Ptr GLshort -> IO ()

class Vertex a where #

Methods

vertex :: a -> IO () #

vertexv :: Ptr a -> IO () #

Instances

Instances details
VertexComponent a => Vertex (Vertex2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

vertex :: Vertex2 a -> IO () #

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

VertexComponent a => Vertex (Vertex3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

vertex :: Vertex3 a -> IO () #

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

VertexComponent a => Vertex (Vertex4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

vertex :: Vertex4 a -> IO () #

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

class VertexAttrib a where #

Methods

vertexAttrib :: IntegerHandling -> AttribLocation -> a -> IO () #

vertexAttribv :: IntegerHandling -> AttribLocation -> Ptr a -> IO () #

Instances

Instances details
VertexAttribComponent a => VertexAttrib (Vector1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

VertexAttribComponent a => VertexAttrib (Vector2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

VertexAttribComponent a => VertexAttrib (Vector3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

VertexAttribComponent a => VertexAttrib (Vector4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

VertexAttribComponent a => VertexAttrib (Vertex1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

VertexAttribComponent a => VertexAttrib (Vertex2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

VertexAttribComponent a => VertexAttrib (Vertex3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

VertexAttribComponent a => VertexAttrib (Vertex4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

VertexAttribComponent a => VertexAttrib (Color3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

VertexAttribComponent a => VertexAttrib (Color4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

VertexAttribComponent a => VertexAttrib (FogCoord1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

VertexAttribComponent a => VertexAttrib (Index1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

VertexAttribComponent a => VertexAttrib (Normal3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

VertexAttribComponent a => VertexAttrib (TexCoord1 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

VertexAttribComponent a => VertexAttrib (TexCoord2 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

VertexAttribComponent a => VertexAttrib (TexCoord3 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

VertexAttribComponent a => VertexAttrib (TexCoord4 a) 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

class (Storable a, Num a) => VertexAttribComponent a where #

Minimal complete definition

vertexAttrib4v, vertexAttrib4Nv, vertexAttrib4Iv

Methods

vertexAttrib1 :: AttribLocation -> a -> IO () #

vertexAttrib2 :: AttribLocation -> a -> a -> IO () #

vertexAttrib3 :: AttribLocation -> a -> a -> a -> IO () #

vertexAttrib4 :: AttribLocation -> a -> a -> a -> a -> IO () #

vertexAttrib1N :: AttribLocation -> a -> IO () #

vertexAttrib2N :: AttribLocation -> a -> a -> IO () #

vertexAttrib3N :: AttribLocation -> a -> a -> a -> IO () #

vertexAttrib4N :: AttribLocation -> a -> a -> a -> a -> IO () #

vertexAttrib1I :: AttribLocation -> a -> IO () #

vertexAttrib2I :: AttribLocation -> a -> a -> IO () #

vertexAttrib3I :: AttribLocation -> a -> a -> a -> IO () #

vertexAttrib4I :: AttribLocation -> a -> a -> a -> a -> IO () #

vertexAttrib1v :: AttribLocation -> Ptr a -> IO () #

vertexAttrib2v :: AttribLocation -> Ptr a -> IO () #

vertexAttrib3v :: AttribLocation -> Ptr a -> IO () #

vertexAttrib4v :: AttribLocation -> Ptr a -> IO () #

vertexAttrib1Nv :: AttribLocation -> Ptr a -> IO () #

vertexAttrib2Nv :: AttribLocation -> Ptr a -> IO () #

vertexAttrib3Nv :: AttribLocation -> Ptr a -> IO () #

vertexAttrib4Nv :: AttribLocation -> Ptr a -> IO () #

vertexAttrib1Iv :: AttribLocation -> Ptr a -> IO () #

vertexAttrib2Iv :: AttribLocation -> Ptr a -> IO () #

vertexAttrib3Iv :: AttribLocation -> Ptr a -> IO () #

vertexAttrib4Iv :: AttribLocation -> Ptr a -> IO () #

Instances

Instances details
VertexAttribComponent GLbyte 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

vertexAttrib1 :: AttribLocation -> GLbyte -> IO () #

vertexAttrib2 :: AttribLocation -> GLbyte -> GLbyte -> IO () #

vertexAttrib3 :: AttribLocation -> GLbyte -> GLbyte -> GLbyte -> IO () #

vertexAttrib4 :: AttribLocation -> GLbyte -> GLbyte -> GLbyte -> GLbyte -> IO () #

vertexAttrib1N :: AttribLocation -> GLbyte -> IO () #

vertexAttrib2N :: AttribLocation -> GLbyte -> GLbyte -> IO () #

vertexAttrib3N :: AttribLocation -> GLbyte -> GLbyte -> GLbyte -> IO () #

vertexAttrib4N :: AttribLocation -> GLbyte -> GLbyte -> GLbyte -> GLbyte -> IO () #

vertexAttrib1I :: AttribLocation -> GLbyte -> IO () #

vertexAttrib2I :: AttribLocation -> GLbyte -> GLbyte -> IO () #

vertexAttrib3I :: AttribLocation -> GLbyte -> GLbyte -> GLbyte -> IO () #

vertexAttrib4I :: AttribLocation -> GLbyte -> GLbyte -> GLbyte -> GLbyte -> IO () #

vertexAttrib1v :: AttribLocation -> Ptr GLbyte -> IO () #

vertexAttrib2v :: AttribLocation -> Ptr GLbyte -> IO () #

vertexAttrib3v :: AttribLocation -> Ptr GLbyte -> IO () #

vertexAttrib4v :: AttribLocation -> Ptr GLbyte -> IO () #

vertexAttrib1Nv :: AttribLocation -> Ptr GLbyte -> IO () #

vertexAttrib2Nv :: AttribLocation -> Ptr GLbyte -> IO () #

vertexAttrib3Nv :: AttribLocation -> Ptr GLbyte -> IO () #

vertexAttrib4Nv :: AttribLocation -> Ptr GLbyte -> IO () #

vertexAttrib1Iv :: AttribLocation -> Ptr GLbyte -> IO () #

vertexAttrib2Iv :: AttribLocation -> Ptr GLbyte -> IO () #

vertexAttrib3Iv :: AttribLocation -> Ptr GLbyte -> IO () #

vertexAttrib4Iv :: AttribLocation -> Ptr GLbyte -> IO () #

VertexAttribComponent GLdouble 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

vertexAttrib1 :: AttribLocation -> GLdouble -> IO () #

vertexAttrib2 :: AttribLocation -> GLdouble -> GLdouble -> IO () #

vertexAttrib3 :: AttribLocation -> GLdouble -> GLdouble -> GLdouble -> IO () #

vertexAttrib4 :: AttribLocation -> GLdouble -> GLdouble -> GLdouble -> GLdouble -> IO () #

vertexAttrib1N :: AttribLocation -> GLdouble -> IO () #

vertexAttrib2N :: AttribLocation -> GLdouble -> GLdouble -> IO () #

vertexAttrib3N :: AttribLocation -> GLdouble -> GLdouble -> GLdouble -> IO () #

vertexAttrib4N :: AttribLocation -> GLdouble -> GLdouble -> GLdouble -> GLdouble -> IO () #

vertexAttrib1I :: AttribLocation -> GLdouble -> IO () #

vertexAttrib2I :: AttribLocation -> GLdouble -> GLdouble -> IO () #

vertexAttrib3I :: AttribLocation -> GLdouble -> GLdouble -> GLdouble -> IO () #

vertexAttrib4I :: AttribLocation -> GLdouble -> GLdouble -> GLdouble -> GLdouble -> IO () #

vertexAttrib1v :: AttribLocation -> Ptr GLdouble -> IO () #

vertexAttrib2v :: AttribLocation -> Ptr GLdouble -> IO () #

vertexAttrib3v :: AttribLocation -> Ptr GLdouble -> IO () #

vertexAttrib4v :: AttribLocation -> Ptr GLdouble -> IO () #

vertexAttrib1Nv :: AttribLocation -> Ptr GLdouble -> IO () #

vertexAttrib2Nv :: AttribLocation -> Ptr GLdouble -> IO () #

vertexAttrib3Nv :: AttribLocation -> Ptr GLdouble -> IO () #

vertexAttrib4Nv :: AttribLocation -> Ptr GLdouble -> IO () #

vertexAttrib1Iv :: AttribLocation -> Ptr GLdouble -> IO () #

vertexAttrib2Iv :: AttribLocation -> Ptr GLdouble -> IO () #

vertexAttrib3Iv :: AttribLocation -> Ptr GLdouble -> IO () #

vertexAttrib4Iv :: AttribLocation -> Ptr GLdouble -> IO () #

VertexAttribComponent GLfloat 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

vertexAttrib1 :: AttribLocation -> GLfloat -> IO () #

vertexAttrib2 :: AttribLocation -> GLfloat -> GLfloat -> IO () #

vertexAttrib3 :: AttribLocation -> GLfloat -> GLfloat -> GLfloat -> IO () #

vertexAttrib4 :: AttribLocation -> GLfloat -> GLfloat -> GLfloat -> GLfloat -> IO () #

vertexAttrib1N :: AttribLocation -> GLfloat -> IO () #

vertexAttrib2N :: AttribLocation -> GLfloat -> GLfloat -> IO () #

vertexAttrib3N :: AttribLocation -> GLfloat -> GLfloat -> GLfloat -> IO () #

vertexAttrib4N :: AttribLocation -> GLfloat -> GLfloat -> GLfloat -> GLfloat -> IO () #

vertexAttrib1I :: AttribLocation -> GLfloat -> IO () #

vertexAttrib2I :: AttribLocation -> GLfloat -> GLfloat -> IO () #

vertexAttrib3I :: AttribLocation -> GLfloat -> GLfloat -> GLfloat -> IO () #

vertexAttrib4I :: AttribLocation -> GLfloat -> GLfloat -> GLfloat -> GLfloat -> IO () #

vertexAttrib1v :: AttribLocation -> Ptr GLfloat -> IO () #

vertexAttrib2v :: AttribLocation -> Ptr GLfloat -> IO () #

vertexAttrib3v :: AttribLocation -> Ptr GLfloat -> IO () #

vertexAttrib4v :: AttribLocation -> Ptr GLfloat -> IO () #

vertexAttrib1Nv :: AttribLocation -> Ptr GLfloat -> IO () #

vertexAttrib2Nv :: AttribLocation -> Ptr GLfloat -> IO () #

vertexAttrib3Nv :: AttribLocation -> Ptr GLfloat -> IO () #

vertexAttrib4Nv :: AttribLocation -> Ptr GLfloat -> IO () #

vertexAttrib1Iv :: AttribLocation -> Ptr GLfloat -> IO () #

vertexAttrib2Iv :: AttribLocation -> Ptr GLfloat -> IO () #

vertexAttrib3Iv :: AttribLocation -> Ptr GLfloat -> IO () #

vertexAttrib4Iv :: AttribLocation -> Ptr GLfloat -> IO () #

VertexAttribComponent GLint 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

VertexAttribComponent GLshort 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

vertexAttrib1 :: AttribLocation -> GLshort -> IO () #

vertexAttrib2 :: AttribLocation -> GLshort -> GLshort -> IO () #

vertexAttrib3 :: AttribLocation -> GLshort -> GLshort -> GLshort -> IO () #

vertexAttrib4 :: AttribLocation -> GLshort -> GLshort -> GLshort -> GLshort -> IO () #

vertexAttrib1N :: AttribLocation -> GLshort -> IO () #

vertexAttrib2N :: AttribLocation -> GLshort -> GLshort -> IO () #

vertexAttrib3N :: AttribLocation -> GLshort -> GLshort -> GLshort -> IO () #

vertexAttrib4N :: AttribLocation -> GLshort -> GLshort -> GLshort -> GLshort -> IO () #

vertexAttrib1I :: AttribLocation -> GLshort -> IO () #

vertexAttrib2I :: AttribLocation -> GLshort -> GLshort -> IO () #

vertexAttrib3I :: AttribLocation -> GLshort -> GLshort -> GLshort -> IO () #

vertexAttrib4I :: AttribLocation -> GLshort -> GLshort -> GLshort -> GLshort -> IO () #

vertexAttrib1v :: AttribLocation -> Ptr GLshort -> IO () #

vertexAttrib2v :: AttribLocation -> Ptr GLshort -> IO () #

vertexAttrib3v :: AttribLocation -> Ptr GLshort -> IO () #

vertexAttrib4v :: AttribLocation -> Ptr GLshort -> IO () #

vertexAttrib1Nv :: AttribLocation -> Ptr GLshort -> IO () #

vertexAttrib2Nv :: AttribLocation -> Ptr GLshort -> IO () #

vertexAttrib3Nv :: AttribLocation -> Ptr GLshort -> IO () #

vertexAttrib4Nv :: AttribLocation -> Ptr GLshort -> IO () #

vertexAttrib1Iv :: AttribLocation -> Ptr GLshort -> IO () #

vertexAttrib2Iv :: AttribLocation -> Ptr GLshort -> IO () #

vertexAttrib3Iv :: AttribLocation -> Ptr GLshort -> IO () #

vertexAttrib4Iv :: AttribLocation -> Ptr GLshort -> IO () #

VertexAttribComponent GLubyte 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

vertexAttrib1 :: AttribLocation -> GLubyte -> IO () #

vertexAttrib2 :: AttribLocation -> GLubyte -> GLubyte -> IO () #

vertexAttrib3 :: AttribLocation -> GLubyte -> GLubyte -> GLubyte -> IO () #

vertexAttrib4 :: AttribLocation -> GLubyte -> GLubyte -> GLubyte -> GLubyte -> IO () #

vertexAttrib1N :: AttribLocation -> GLubyte -> IO () #

vertexAttrib2N :: AttribLocation -> GLubyte -> GLubyte -> IO () #

vertexAttrib3N :: AttribLocation -> GLubyte -> GLubyte -> GLubyte -> IO () #

vertexAttrib4N :: AttribLocation -> GLubyte -> GLubyte -> GLubyte -> GLubyte -> IO () #

vertexAttrib1I :: AttribLocation -> GLubyte -> IO () #

vertexAttrib2I :: AttribLocation -> GLubyte -> GLubyte -> IO () #

vertexAttrib3I :: AttribLocation -> GLubyte -> GLubyte -> GLubyte -> IO () #

vertexAttrib4I :: AttribLocation -> GLubyte -> GLubyte -> GLubyte -> GLubyte -> IO () #

vertexAttrib1v :: AttribLocation -> Ptr GLubyte -> IO () #

vertexAttrib2v :: AttribLocation -> Ptr GLubyte -> IO () #

vertexAttrib3v :: AttribLocation -> Ptr GLubyte -> IO () #

vertexAttrib4v :: AttribLocation -> Ptr GLubyte -> IO () #

vertexAttrib1Nv :: AttribLocation -> Ptr GLubyte -> IO () #

vertexAttrib2Nv :: AttribLocation -> Ptr GLubyte -> IO () #

vertexAttrib3Nv :: AttribLocation -> Ptr GLubyte -> IO () #

vertexAttrib4Nv :: AttribLocation -> Ptr GLubyte -> IO () #

vertexAttrib1Iv :: AttribLocation -> Ptr GLubyte -> IO () #

vertexAttrib2Iv :: AttribLocation -> Ptr GLubyte -> IO () #

vertexAttrib3Iv :: AttribLocation -> Ptr GLubyte -> IO () #

vertexAttrib4Iv :: AttribLocation -> Ptr GLubyte -> IO () #

VertexAttribComponent GLuint 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

vertexAttrib1 :: AttribLocation -> GLuint -> IO () #

vertexAttrib2 :: AttribLocation -> GLuint -> GLuint -> IO () #

vertexAttrib3 :: AttribLocation -> GLuint -> GLuint -> GLuint -> IO () #

vertexAttrib4 :: AttribLocation -> GLuint -> GLuint -> GLuint -> GLuint -> IO () #

vertexAttrib1N :: AttribLocation -> GLuint -> IO () #

vertexAttrib2N :: AttribLocation -> GLuint -> GLuint -> IO () #

vertexAttrib3N :: AttribLocation -> GLuint -> GLuint -> GLuint -> IO () #

vertexAttrib4N :: AttribLocation -> GLuint -> GLuint -> GLuint -> GLuint -> IO () #

vertexAttrib1I :: AttribLocation -> GLuint -> IO () #

vertexAttrib2I :: AttribLocation -> GLuint -> GLuint -> IO () #

vertexAttrib3I :: AttribLocation -> GLuint -> GLuint -> GLuint -> IO () #

vertexAttrib4I :: AttribLocation -> GLuint -> GLuint -> GLuint -> GLuint -> IO () #

vertexAttrib1v :: AttribLocation -> Ptr GLuint -> IO () #

vertexAttrib2v :: AttribLocation -> Ptr GLuint -> IO () #

vertexAttrib3v :: AttribLocation -> Ptr GLuint -> IO () #

vertexAttrib4v :: AttribLocation -> Ptr GLuint -> IO () #

vertexAttrib1Nv :: AttribLocation -> Ptr GLuint -> IO () #

vertexAttrib2Nv :: AttribLocation -> Ptr GLuint -> IO () #

vertexAttrib3Nv :: AttribLocation -> Ptr GLuint -> IO () #

vertexAttrib4Nv :: AttribLocation -> Ptr GLuint -> IO () #

vertexAttrib1Iv :: AttribLocation -> Ptr GLuint -> IO () #

vertexAttrib2Iv :: AttribLocation -> Ptr GLuint -> IO () #

vertexAttrib3Iv :: AttribLocation -> Ptr GLuint -> IO () #

vertexAttrib4Iv :: AttribLocation -> Ptr GLuint -> IO () #

VertexAttribComponent GLushort 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

vertexAttrib1 :: AttribLocation -> GLushort -> IO () #

vertexAttrib2 :: AttribLocation -> GLushort -> GLushort -> IO () #

vertexAttrib3 :: AttribLocation -> GLushort -> GLushort -> GLushort -> IO () #

vertexAttrib4 :: AttribLocation -> GLushort -> GLushort -> GLushort -> GLushort -> IO () #

vertexAttrib1N :: AttribLocation -> GLushort -> IO () #

vertexAttrib2N :: AttribLocation -> GLushort -> GLushort -> IO () #

vertexAttrib3N :: AttribLocation -> GLushort -> GLushort -> GLushort -> IO () #

vertexAttrib4N :: AttribLocation -> GLushort -> GLushort -> GLushort -> GLushort -> IO () #

vertexAttrib1I :: AttribLocation -> GLushort -> IO () #

vertexAttrib2I :: AttribLocation -> GLushort -> GLushort -> IO () #

vertexAttrib3I :: AttribLocation -> GLushort -> GLushort -> GLushort -> IO () #

vertexAttrib4I :: AttribLocation -> GLushort -> GLushort -> GLushort -> GLushort -> IO () #

vertexAttrib1v :: AttribLocation -> Ptr GLushort -> IO () #

vertexAttrib2v :: AttribLocation -> Ptr GLushort -> IO () #

vertexAttrib3v :: AttribLocation -> Ptr GLushort -> IO () #

vertexAttrib4v :: AttribLocation -> Ptr GLushort -> IO () #

vertexAttrib1Nv :: AttribLocation -> Ptr GLushort -> IO () #

vertexAttrib2Nv :: AttribLocation -> Ptr GLushort -> IO () #

vertexAttrib3Nv :: AttribLocation -> Ptr GLushort -> IO () #

vertexAttrib4Nv :: AttribLocation -> Ptr GLushort -> IO () #

vertexAttrib1Iv :: AttribLocation -> Ptr GLushort -> IO () #

vertexAttrib2Iv :: AttribLocation -> Ptr GLushort -> IO () #

vertexAttrib3Iv :: AttribLocation -> Ptr GLushort -> IO () #

vertexAttrib4Iv :: AttribLocation -> Ptr GLushort -> IO () #

class VertexComponent a #

Minimal complete definition

vertex2, vertex3, vertex4, vertex2v, vertex3v, vertex4v

Instances

Instances details
VertexComponent GLdouble 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

vertex2 :: GLdouble -> GLdouble -> IO ()

vertex3 :: GLdouble -> GLdouble -> GLdouble -> IO ()

vertex4 :: GLdouble -> GLdouble -> GLdouble -> GLdouble -> IO ()

vertex2v :: Ptr GLdouble -> IO ()

vertex3v :: Ptr GLdouble -> IO ()

vertex4v :: Ptr GLdouble -> IO ()

VertexComponent GLfloat 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

vertex2 :: GLfloat -> GLfloat -> IO ()

vertex3 :: GLfloat -> GLfloat -> GLfloat -> IO ()

vertex4 :: GLfloat -> GLfloat -> GLfloat -> GLfloat -> IO ()

vertex2v :: Ptr GLfloat -> IO ()

vertex3v :: Ptr GLfloat -> IO ()

vertex4v :: Ptr GLfloat -> IO ()

VertexComponent GLint 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

vertex2 :: GLint -> GLint -> IO ()

vertex3 :: GLint -> GLint -> GLint -> IO ()

vertex4 :: GLint -> GLint -> GLint -> GLint -> IO ()

vertex2v :: Ptr GLint -> IO ()

vertex3v :: Ptr GLint -> IO ()

vertex4v :: Ptr GLint -> IO ()

VertexComponent GLshort 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexSpec

Methods

vertex2 :: GLshort -> GLshort -> IO ()

vertex3 :: GLshort -> GLshort -> GLshort -> IO ()

vertex4 :: GLshort -> GLshort -> GLshort -> GLshort -> IO ()

vertex2v :: Ptr GLshort -> IO ()

vertex3v :: Ptr GLshort -> IO ()

vertex4v :: Ptr GLshort -> IO ()

scaleImage :: Size -> PixelData a -> Size -> PixelData b -> IO () #

data DisplayMode' #

Instances

Instances details
Show DisplayMode' 
Instance details

Defined in Graphics.Rendering.OpenGL.GLU.NURBS

Methods

showsPrec :: Int -> DisplayMode' -> ShowS

show :: DisplayMode' -> String

showList :: [DisplayMode'] -> ShowS

Eq DisplayMode' 
Instance details

Defined in Graphics.Rendering.OpenGL.GLU.NURBS

Methods

(==) :: DisplayMode' -> DisplayMode' -> Bool

(/=) :: DisplayMode' -> DisplayMode' -> Bool

Ord DisplayMode' 
Instance details

Defined in Graphics.Rendering.OpenGL.GLU.NURBS

type NURBSEndCallback = IO () #

data NURBSMode #

Instances

Instances details
Show NURBSMode 
Instance details

Defined in Graphics.Rendering.OpenGL.GLU.NURBS

Methods

showsPrec :: Int -> NURBSMode -> ShowS

show :: NURBSMode -> String

showList :: [NURBSMode] -> ShowS

Eq NURBSMode 
Instance details

Defined in Graphics.Rendering.OpenGL.GLU.NURBS

Methods

(==) :: NURBSMode -> NURBSMode -> Bool

(/=) :: NURBSMode -> NURBSMode -> Bool

Ord NURBSMode 
Instance details

Defined in Graphics.Rendering.OpenGL.GLU.NURBS

Methods

compare :: NURBSMode -> NURBSMode -> Ordering

(<) :: NURBSMode -> NURBSMode -> Bool

(<=) :: NURBSMode -> NURBSMode -> Bool

(>) :: NURBSMode -> NURBSMode -> Bool

(>=) :: NURBSMode -> NURBSMode -> Bool

max :: NURBSMode -> NURBSMode -> NURBSMode

min :: NURBSMode -> NURBSMode -> NURBSMode

type NURBSObj = Ptr GLUnurbs #

class TrimmingPoint (p :: Type -> Type) #

Minimal complete definition

trimmingTarget

Instances

Instances details
TrimmingPoint Vertex2 
Instance details

Defined in Graphics.Rendering.OpenGL.GLU.NURBS

TrimmingPoint Vertex3 
Instance details

Defined in Graphics.Rendering.OpenGL.GLU.NURBS

checkForNURBSError :: NURBSObj -> IO a -> IO a #

loadSamplingMatrices :: (Matrix m1, Matrix m2) => NURBSObj -> Maybe (m1 GLfloat, m2 GLfloat, (Position, Size)) -> IO () #

nurbsBeginEndCurve :: NURBSObj -> IO a -> IO a #

nurbsBeginEndSurface :: NURBSObj -> IO a -> IO a #

nurbsBeginEndTrim :: NURBSObj -> IO a -> IO a #

nurbsCurve :: ControlPoint c => NURBSObj -> GLint -> Ptr GLfloat -> GLint -> Ptr (c GLfloat) -> GLint -> IO () #

nurbsSurface :: ControlPoint c => NURBSObj -> GLint -> Ptr GLfloat -> GLint -> Ptr GLfloat -> GLint -> GLint -> Ptr (c GLfloat) -> GLint -> GLint -> IO () #

pwlCurve :: TrimmingPoint p => NURBSObj -> GLint -> Ptr (p GLfloat) -> GLint -> IO () #

trimmingCurve :: TrimmingPoint c => NURBSObj -> GLint -> Ptr GLfloat -> GLint -> Ptr (c GLfloat) -> GLint -> IO () #

withNURBSObj :: a -> (NURBSObj -> IO a) -> IO a #

type Loops = GLint #

data AnnotatedVertex v #

Constructors

AnnotatedVertex (Vertex3 GLdouble) v 

Instances

Instances details
Storable v => Storable (AnnotatedVertex v) 
Instance details

Defined in Graphics.Rendering.OpenGL.GLU.Tessellation

Methods

sizeOf :: AnnotatedVertex v -> Int

alignment :: AnnotatedVertex v -> Int

peekElemOff :: Ptr (AnnotatedVertex v) -> Int -> IO (AnnotatedVertex v)

pokeElemOff :: Ptr (AnnotatedVertex v) -> Int -> AnnotatedVertex v -> IO ()

peekByteOff :: Ptr b -> Int -> IO (AnnotatedVertex v)

pokeByteOff :: Ptr b -> Int -> AnnotatedVertex v -> IO ()

peek :: Ptr (AnnotatedVertex v) -> IO (AnnotatedVertex v)

poke :: Ptr (AnnotatedVertex v) -> AnnotatedVertex v -> IO ()

Eq v => Eq (AnnotatedVertex v) 
Instance details

Defined in Graphics.Rendering.OpenGL.GLU.Tessellation

Methods

(==) :: AnnotatedVertex v -> AnnotatedVertex v -> Bool

(/=) :: AnnotatedVertex v -> AnnotatedVertex v -> Bool

Ord v => Ord (AnnotatedVertex v) 
Instance details

Defined in Graphics.Rendering.OpenGL.GLU.Tessellation

newtype ComplexContour v #

Instances

Instances details
Eq v => Eq (ComplexContour v) 
Instance details

Defined in Graphics.Rendering.OpenGL.GLU.Tessellation

Methods

(==) :: ComplexContour v -> ComplexContour v -> Bool

(/=) :: ComplexContour v -> ComplexContour v -> Bool

Ord v => Ord (ComplexContour v) 
Instance details

Defined in Graphics.Rendering.OpenGL.GLU.Tessellation

newtype ComplexPolygon v #

Constructors

ComplexPolygon [ComplexContour v] 

Instances

Instances details
Eq v => Eq (ComplexPolygon v) 
Instance details

Defined in Graphics.Rendering.OpenGL.GLU.Tessellation

Methods

(==) :: ComplexPolygon v -> ComplexPolygon v -> Bool

(/=) :: ComplexPolygon v -> ComplexPolygon v -> Bool

Ord v => Ord (ComplexPolygon v) 
Instance details

Defined in Graphics.Rendering.OpenGL.GLU.Tessellation

newtype PolygonContours v #

Constructors

PolygonContours [SimpleContour v] 

Instances

Instances details
Eq v => Eq (PolygonContours v) 
Instance details

Defined in Graphics.Rendering.OpenGL.GLU.Tessellation

Methods

(==) :: PolygonContours v -> PolygonContours v -> Bool

(/=) :: PolygonContours v -> PolygonContours v -> Bool

Ord v => Ord (PolygonContours v) 
Instance details

Defined in Graphics.Rendering.OpenGL.GLU.Tessellation

data Primitive v #

Instances

Instances details
Eq v => Eq (Primitive v) 
Instance details

Defined in Graphics.Rendering.OpenGL.GLU.Tessellation

Methods

(==) :: Primitive v -> Primitive v -> Bool

(/=) :: Primitive v -> Primitive v -> Bool

Ord v => Ord (Primitive v) 
Instance details

Defined in Graphics.Rendering.OpenGL.GLU.Tessellation

Methods

compare :: Primitive v -> Primitive v -> Ordering

(<) :: Primitive v -> Primitive v -> Bool

(<=) :: Primitive v -> Primitive v -> Bool

(>) :: Primitive v -> Primitive v -> Bool

(>=) :: Primitive v -> Primitive v -> Bool

max :: Primitive v -> Primitive v -> Primitive v

min :: Primitive v -> Primitive v -> Primitive v

newtype SimpleContour v #

Constructors

SimpleContour [AnnotatedVertex v] 

Instances

Instances details
Eq v => Eq (SimpleContour v) 
Instance details

Defined in Graphics.Rendering.OpenGL.GLU.Tessellation

Methods

(==) :: SimpleContour v -> SimpleContour v -> Bool

(/=) :: SimpleContour v -> SimpleContour v -> Bool

Ord v => Ord (SimpleContour v) 
Instance details

Defined in Graphics.Rendering.OpenGL.GLU.Tessellation

newtype SimplePolygon v #

Constructors

SimplePolygon [Primitive v] 

Instances

Instances details
Eq v => Eq (SimplePolygon v) 
Instance details

Defined in Graphics.Rendering.OpenGL.GLU.Tessellation

Methods

(==) :: SimplePolygon v -> SimplePolygon v -> Bool

(/=) :: SimplePolygon v -> SimplePolygon v -> Bool

Ord v => Ord (SimplePolygon v) 
Instance details

Defined in Graphics.Rendering.OpenGL.GLU.Tessellation

type Tessellator (p :: Type -> Type) v = TessWinding -> Tolerance -> Normal3 GLdouble -> Combiner v -> ComplexPolygon v -> IO (p v) #

data Triangle v #

Instances

Instances details
Eq v => Eq (Triangle v) 
Instance details

Defined in Graphics.Rendering.OpenGL.GLU.Tessellation

Methods

(==) :: Triangle v -> Triangle v -> Bool

(/=) :: Triangle v -> Triangle v -> Bool

Ord v => Ord (Triangle v) 
Instance details

Defined in Graphics.Rendering.OpenGL.GLU.Tessellation

Methods

compare :: Triangle v -> Triangle v -> Ordering

(<) :: Triangle v -> Triangle v -> Bool

(<=) :: Triangle v -> Triangle v -> Bool

(>) :: Triangle v -> Triangle v -> Bool

(>=) :: Triangle v -> Triangle v -> Bool

max :: Triangle v -> Triangle v -> Triangle v

min :: Triangle v -> Triangle v -> Triangle v

newtype Triangulation v #

Constructors

Triangulation [Triangle v] 

Instances

Instances details
Eq v => Eq (Triangulation v) 
Instance details

Defined in Graphics.Rendering.OpenGL.GLU.Tessellation

Methods

(==) :: Triangulation v -> Triangulation v -> Bool

(/=) :: Triangulation v -> Triangulation v -> Bool

Ord v => Ord (Triangulation v) 
Instance details

Defined in Graphics.Rendering.OpenGL.GLU.Tessellation

class ObjectName a => GeneratableObjectName a where #

Minimal complete definition

genObjectName | genObjectNames

Methods

genObjectName :: MonadIO m => m a #

genObjectNames :: MonadIO m => Int -> m [a] #

Instances

Instances details
GeneratableObjectName BufferObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.BufferObjects

Methods

genObjectName :: MonadIO m => m BufferObject #

genObjectNames :: MonadIO m => Int -> m [BufferObject] #

GeneratableObjectName DisplayList 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.DisplayLists

Methods

genObjectName :: MonadIO m => m DisplayList #

genObjectNames :: MonadIO m => Int -> m [DisplayList] #

GeneratableObjectName FramebufferObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.FramebufferObjects.FramebufferObject

Methods

genObjectName :: MonadIO m => m FramebufferObject #

genObjectNames :: MonadIO m => Int -> m [FramebufferObject] #

GeneratableObjectName RenderbufferObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.FramebufferObjects.RenderbufferObject

Methods

genObjectName :: MonadIO m => m RenderbufferObject #

genObjectNames :: MonadIO m => Int -> m [RenderbufferObject] #

GeneratableObjectName QueryObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.QueryObject

Methods

genObjectName :: MonadIO m => m QueryObject #

genObjectNames :: MonadIO m => Int -> m [QueryObject] #

GeneratableObjectName TextureObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Texturing.TextureObject

Methods

genObjectName :: MonadIO m => m TextureObject #

genObjectNames :: MonadIO m => Int -> m [TextureObject] #

GeneratableObjectName VertexArrayObject 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.VertexArrayObjects

Methods

genObjectName :: MonadIO m => m VertexArrayObject #

genObjectNames :: MonadIO m => Int -> m [VertexArrayObject] #

type GLDEBUGPROCAMDFunc = GLuint -> GLenum -> GLenum -> GLsizei -> Ptr GLchar -> Ptr () -> IO () #

type GLDEBUGPROCFunc = GLenum -> GLenum -> GLuint -> GLenum -> GLsizei -> Ptr GLchar -> Ptr () -> IO () #

type GLVULKANPROCNVFunc = IO () #

type GLbitfield = Word32 #

type GLboolean = Word8 #

type GLbyte = Int8 #

type GLchar = CChar #

type GLcharARB = CChar #

type GLclampd = Double #

type GLclampf = Float #

type GLclampx = Fixed #

type GLeglClientBufferEXT = Ptr () #

type GLeglImageOES = Ptr () #

type GLfixed = Fixed #

type GLhalf = Half #

type GLhalfARB = Half #

type GLhalfNV = Half #

type GLhandleARB = Word32 #

type GLint64 = Int64 #

type GLint64EXT = Int64 #

type GLintptr = CPtrdiff #

type GLintptrARB = CPtrdiff #

type GLshort = Int16 #

type GLsizei = Int32 #

type GLsizeiptr = CPtrdiff #

type GLsizeiptrARB = CPtrdiff #

type GLsync = Ptr () #

type GLubyte = Word8 #

type GLuint = Word32 #

type GLuint64 = Word64 #

type GLuint64EXT = Word64 #

type GLushort = Word16 #

type GLvoid = () #