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

Safe HaskellNone
LanguageHaskell2010

Graphics.Gloss.Accelerate.Data.Picture

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.