fwgl-0.1.0.2: FRP 2D/3D 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 (JavaScript only).

textureFile :: String -> Texture Source

Creates a Texture from a file (Desktop only).

textureLayer :: GLES => Int -> Int -> Layer -> Texture Source

Creates a Texture from a Layer.