packages feed

hylogen-0.1.1.0: src/Hylogen/Texture.hs

{-# LANGUAGE DataKinds #-}
{-# LANGUAGE TypeSynonymInstances #-}
{-# LANGUAGE FlexibleInstances #-}

module Hylogen.Texture where

import Hylogen.Expr

data TextureType = TextureType
instance ToGLSLType TextureType where
  toGLSLType _ = GLSLTexture
  tag = TextureType

type Texture = Expr TextureType