ombra-0.3.1.0: Render engine.

Safe HaskellNone
LanguageHaskell2010

Graphics.Rendering.Ombra.Shader.Default2D

Synopsis

Documentation

type Geometry2D = '[Position2, UV] Source #

A 2D geometry.

data Image Source #

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

Constructors

Image GSampler2D 

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.3.1.0-I8WL6jt4qyYKc1kCNwFK7w" False) (C1 (MetaCons "Image" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 GSampler2D)))

data Depth Source #

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

Constructors

Depth GFloat 

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.3.1.0-I8WL6jt4qyYKc1kCNwFK7w" False) (C1 (MetaCons "Depth" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 GFloat)))

data Transform2 Source #

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

Constructors

Transform2 GMat3 

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.3.1.0-I8WL6jt4qyYKc1kCNwFK7w" False) (C1 (MetaCons "Transform2" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 GMat3)))

data View2 Source #

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

Constructors

View2 GMat3 

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.3.1.0-I8WL6jt4qyYKc1kCNwFK7w" False) (C1 (MetaCons "View2" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 GMat3)))

data Position2 Source #

Constructors

Position2 GVec2 

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.3.1.0-I8WL6jt4qyYKc1kCNwFK7w" False) (C1 (MetaCons "Position2" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 GVec2)))

data UV Source #

Constructors

UV GVec2 

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" "ombra-0.3.1.0-I8WL6jt4qyYKc1kCNwFK7w" False) (C1 (MetaCons "UV" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 GVec2)))