gloss-accelerate-2.0.0.1: Extras to interface Gloss and Accelerate

Copyright[2013..2017] Trevor L. McDonell
LicenseBSD3
MaintainerTrevor L. McDonell <tmcdonell@cse.unsw.edu.au>
Stabilityexperimental
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Graphics.Gloss.Accelerate.Data.Picture

Description

 

Synopsis

Documentation

bitmapOfArray :: Array DIM2 Word32 -> Bool -> Picture Source #

Use an Accelerate array of RGBA data as a bitmap image. If the image is generated programatically every frame, then the second parameter should be False. If you have loaded it from static data then use True.