| |||||
| |||||
Description | |||||
OpenGL support for Data.Bitmap | |||||
Synopsis | |||||
| |||||
Documentation | |||||
makeSimpleBitmapTexture :: forall t. PixelComponent t => Bitmap t -> IO TextureObject | |||||
This function guesses the pixel format from the number of channels:
For more control, use makeTextureFromBitmap. | |||||
makeTextureFromBitmap :: PixelComponent t => Bitmap t -> Maybe CubeMapTarget -> Level -> PixelFormat -> PixelInternalFormat -> Border -> IO TextureObject | |||||
Creates a new OpenGL texture from a bitmap | |||||
texImageFromBitmap :: forall t. PixelComponent t => Bitmap t -> Maybe CubeMapTarget -> Level -> PixelFormat -> PixelInternalFormat -> Border -> IO () | |||||
Produced by Haddock version 2.4.1 |