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

Safe HaskellNone
LanguageHaskell2010

FWGL.Shader.Default2D

Synopsis

Documentation

type Attributes = `[Position2, UV]`

newtype Image

An uniform that represents the texture used in the default 2D shader.

Constructors

Image Sampler2D 

newtype Depth

An uniform that represents the depth used in the default 2D shader.

Constructors

Depth Float 

newtype Transform2

An uniform that represents the transformation matrix used in the default 2D shader.

Constructors

Transform2 M3 

newtype View2

An uniform that represents the view matrix used in the default 2D shader.

Constructors

View2 M3 

newtype UV

Constructors

UV V2