ombra-0.1.0.0: Render engine.

Safe HaskellNone
LanguageHaskell2010

Graphics.Rendering.Ombra.Shader.Default2D

Synopsis

Documentation

data Image Source #

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

Constructors

Image Sampler2D 

Instances

Generic Image Source # 

Associated Types

type Rep Image :: * -> * #

Methods

from :: Image -> Rep Image x #

to :: Rep Image x -> Image #

type Rep Image Source # 
type Rep Image = D1 (MetaData "Image" "Graphics.Rendering.Ombra.Shader.Default2D" "ombra-0.1.0.0-Ibz2Pk1ar1P3nEQvnIPwaz" False) (C1 (MetaCons "Image" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Sampler2D)))

data Depth Source #

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

Constructors

Depth Float 

Instances

Generic Depth Source # 

Associated Types

type Rep Depth :: * -> * #

Methods

from :: Depth -> Rep Depth x #

to :: Rep Depth x -> Depth #

type Rep Depth Source # 
type Rep Depth = D1 (MetaData "Depth" "Graphics.Rendering.Ombra.Shader.Default2D" "ombra-0.1.0.0-Ibz2Pk1ar1P3nEQvnIPwaz" False) (C1 (MetaCons "Depth" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Float)))

data Transform2 Source #

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

Constructors

Transform2 Mat3 

Instances

Generic Transform2 Source # 

Associated Types

type Rep Transform2 :: * -> * #

type Rep Transform2 Source # 
type Rep Transform2 = D1 (MetaData "Transform2" "Graphics.Rendering.Ombra.Shader.Default2D" "ombra-0.1.0.0-Ibz2Pk1ar1P3nEQvnIPwaz" False) (C1 (MetaCons "Transform2" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Mat3)))

data View2 Source #

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

Constructors

View2 Mat3 

Instances

Generic View2 Source # 

Associated Types

type Rep View2 :: * -> * #

Methods

from :: View2 -> Rep View2 x #

to :: Rep View2 x -> View2 #

type Rep View2 Source # 
type Rep View2 = D1 (MetaData "View2" "Graphics.Rendering.Ombra.Shader.Default2D" "ombra-0.1.0.0-Ibz2Pk1ar1P3nEQvnIPwaz" False) (C1 (MetaCons "View2" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Mat3)))

data Position2 Source #

Constructors

Position2 Vec2 

Instances

Generic Position2 Source # 

Associated Types

type Rep Position2 :: * -> * #

type Rep Position2 Source # 
type Rep Position2 = D1 (MetaData "Position2" "Graphics.Rendering.Ombra.Shader.Default2D" "ombra-0.1.0.0-Ibz2Pk1ar1P3nEQvnIPwaz" False) (C1 (MetaCons "Position2" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Vec2)))

data UV Source #

Constructors

UV Vec2 

Instances

Generic UV Source # 

Associated Types

type Rep UV :: * -> * #

Methods

from :: UV -> Rep UV x #

to :: Rep UV x -> UV #

type Rep UV Source # 
type Rep UV = D1 (MetaData "UV" "Graphics.Rendering.Ombra.Shader.Default2D" "ombra-0.1.0.0-Ibz2Pk1ar1P3nEQvnIPwaz" False) (C1 (MetaCons "UV" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Vec2)))