gloss-accelerate-1.9.0.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.