ombra-0.1.1.0: Render engine.

Safe HaskellNone
LanguageHaskell2010

Graphics.Rendering.Ombra.Shader.Stages

Synopsis

Documentation

type VertexShader g i o = Shader g i (VertexShaderOutput ': o) Source #

A Shader with a VertexShaderOutput output.

type FragmentShader g i = Shader g i (FragmentShaderOutput ': '[]) Source #

A Shader with only a FragmentShaderOutput output.

data VertexShaderOutput Source #

The position of the vertex.

Constructors

Vertex Vec4 

Instances

Generic VertexShaderOutput Source # 
type Rep VertexShaderOutput Source # 
type Rep VertexShaderOutput = D1 (MetaData "VertexShaderOutput" "Graphics.Rendering.Ombra.Shader.Stages" "ombra-0.1.1.0-76t5yrQ0xg44rMguLkJzq6" False) (C1 (MetaCons "Vertex" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Vec4)))

type VOShaderVars o = (ShaderVars o, ShaderVars (VertexShaderOutput ': o)) Source #

ShaderVars for the output of VartexShader.