{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
module THREE.WebGLProgram
(
WebGLProgram (..)
, THREE.WebGLProgram.new
) where
import Miso
import qualified THREE.Internal as THREE
newtype WebGLProgram
= WebGLProgram
{ WebGLProgram -> JSVal
unWebGLProgramCamera :: JSVal
} deriving (WebGLProgram -> IO Object
(WebGLProgram -> IO Object) -> ToObject WebGLProgram
forall a. (a -> IO Object) -> ToObject a
$ctoObject :: WebGLProgram -> IO Object
toObject :: WebGLProgram -> IO Object
ToObject)
new :: THREE.Three WebGLProgram
new :: Three WebGLProgram
new = (JSVal -> WebGLProgram)
-> MisoString -> [MisoString] -> Three WebGLProgram
forall args con.
ToArgs args =>
(JSVal -> con) -> MisoString -> args -> Three con
THREE.new JSVal -> WebGLProgram
WebGLProgram MisoString
"WebGLProgram" ([] :: [MisoString])