Safe Haskell | None |
---|---|
Language | Haskell2010 |
- type Uniforms = '[View2, Image, Depth, Transform2]
- type Attributes = '[Position2, UV]
- data Image = Image GSampler2D
- data Depth = Depth GFloat
- data Transform2 = Transform2 GMat3
- data View2 = View2 GMat3
- data Position2 = Position2 GVec2
- data UV = UV GVec2
- vertexShader :: VertexShader '[Transform2, View2, Depth] '[Position2, UV] '[UV]
- fragmentShader :: FragmentShader '[Image] '[UV]
Documentation
type Attributes = '[Position2, UV] Source #
An uniform that represents the texture used in the default 2D shader.
An uniform that represents the depth used in the default 2D shader.
data Transform2 Source #
An uniform that represents the transformation matrix used in the default 2D shader.
Generic Transform2 Source # | |
type Rep Transform2 Source # | |
An uniform that represents the view matrix used in the default 2D shader.
vertexShader :: VertexShader '[Transform2, View2, Depth] '[Position2, UV] '[UV] Source #
fragmentShader :: FragmentShader '[Image] '[UV] Source #