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

Copyright[2013..2020] Trevor L. McDonell
LicenseBSD3
MaintainerTrevor L. McDonell <trevor.mcdonell@gmail.com>
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.