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

Graphics.Rendering.OpenGL.GL.Selection

Description

This module corresponds to section 5.2 (Selection) of the OpenGL 2.1 specs.

Documentation

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

newtype Name Source #

Constructors

Name GLuint 

Instances

Instances details
Show Name Source # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Selection

Eq Name Source # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Selection

Methods

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

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

Ord Name Source # 
Instance details

Defined in Graphics.Rendering.OpenGL.GL.Selection

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