fwgl-0.1.0.0: FRP 2D/3D game engine

Safe HaskellNone
LanguageHaskell2010

FWGL.Texture

Synopsis

Documentation

mkTexture

Arguments

:: GLES 
=> Int

Width.

-> Int

Height.

-> [Color]

List of pixels

-> Texture 

Creates a Texture from a list of pixels.

textureURL

Arguments

:: String

URL

-> Texture 

Creates a Texture from an URL (JavaScript only).

textureFile :: String -> Texture

Creates a Texture from a file (Desktop only).