dynamic-graph-0.1.0.12: Draw and update graphs in real time with OpenGL

Safe HaskellNone
LanguageHaskell2010

Graphics.DynamicGraph.Util

Description

Various utility functions

Synopsis

Documentation

setupGLFW :: IO Bool Source #

Utility function to setup GLFW for graph drawing. Returns True on success.

checkVertexTextureUnits :: IO Bool Source #

Returns True if texture units are accessible from the vertex shader. Needed by Graphics.DynamicGraph.Line.

pipeify :: Monad m => (a -> m ()) -> Consumer a m () Source #

Convert a function that performs a monadic action to a Consumer