gelatin-shaders-0.1.0.0: Gelatin's OpenGL shaders.

Safe HaskellNone
LanguageHaskell2010

Gelatin.Shaders.Simple2D

Synopsis

Documentation

Attributes layout locations are unique and global.

type APosition = Attribute "position" (V2 Float) 0 Source #

type AColor = Attribute "color" (V4 Float) 1 Source #

type AUV = Attribute "uv" (V2 Float) 2 Source #

type ABez = Attribute "bez" (V3 Float) 3 Source #

type ABezUV = Attribute "bezuv" (V2 Float) 4 Source #

type APrev = Attribute "prev" (V2 Float) 5 Source #

type ANext = Attribute "next" (V2 Float) 6 Source #

Uniform Helper Types

type UPrimType = Uniform "primitive" PrimType Source #

type UProjection = Uniform "projection" (M44 Float) Source #

type UModelView = Uniform "modelview" (M44 Float) Source #

type UThickness = Uniform "thickness" Float Source #

type UFeather = Uniform "feather" Float Source #

type USumLength = Uniform "sumlength" Float Source #

type UHasUV = Uniform "hasUV" Bool Source #

type USampler = Uniform "sampler" Int Source #

type UMainTex = Uniform "mainTex" Int Source #

type UMaskTex = Uniform "maskTex" Int Source #

type UAlpha = Uniform "alpha" Float Source #

type UMult = Uniform "mult" (V4 Float) Source #

type UShouldReplaceColor = Uniform "shouldColorReplace" Bool Source #

type UReplaceColor = Uniform "replaceColor" (V4 Float) Source #