polar-shader-0.1.0.1: High-level shader compiler for Polar Game Engine

Safe HaskellNone
LanguageHaskell98

Polar.Shader.Types

Documentation

class HasAsts s a | s -> a where Source

Methods

asts :: Lens' s a Source

Instances

class HasLets s a | s -> a where Source

Methods

lets :: Lens' s a Source

class HasName s a | s -> a where Source

Methods

name :: Lens' s a Source

class HasFunctions s a | s -> a where Source

Methods

functions :: Lens' s a Source

class HasGlobals s a | s -> a where Source

Methods

globals :: Lens' s a Source

class HasInputs s a | s -> a where Source

Methods

inputs :: Lens' s a Source

class HasOutputs s a | s -> a where Source

Methods

outputs :: Lens' s a Source

class Compiler a where Source