ombra-0.1.1.0: Render engine.

Safe HaskellNone
LanguageHaskell2010

Graphics.Rendering.Ombra.Texture

Synopsis

Documentation

mkTexture Source #

Arguments

:: GLES 
=> Int

Width.

-> Int

Height.

-> [Color]

List of pixels

-> Texture 

Creates a Texture from a list of pixels.

mkTextureRaw Source #

Arguments

:: GLES 
=> Int

Width.

-> Int

Height.

-> UInt8Array

Array of pixel components.

-> Int

Texture hash

-> Texture 

mkTextureFloat Source #

Arguments

:: GLES 
=> Int

Width.

-> Int

Height.

-> [Vec4]

List of vectors.

-> Texture 

Creates a float Texture from a list of vectors.

setFilter :: Filter -> Filter -> Texture -> Texture Source #

Change the Texture minifying and magnifying functions. This doesn't work on sublayer textures.