fwgl-0.1.3.1: Game engine

Safe HaskellNone
LanguageHaskell2010

FWGL.Graphics.Texture

Synopsis

Documentation

mkTexture Source

Arguments

:: GLES 
=> Int

Width.

-> Int

Height.

-> [Color]

List of pixels

-> Texture 

Creates a Texture from a list of pixels.

textureURL Source

Arguments

:: String

URL

-> Texture 

Creates a Texture from an URL or a local file.