-----------------------------------------------------------------------------
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
-----------------------------------------------------------------------------
module THREE.WebGLProgram
  ( -- * Types
    WebGLProgram (..)
    -- * Methods
  , THREE.WebGLProgram.new
    -- * Properties
  ) where
-----------------------------------------------------------------------------
import           Miso
-----------------------------------------------------------------------------
import qualified THREE.Internal as THREE
-----------------------------------------------------------------------------
-- | https://threejs.org/docs/#api/en/scenes/WebGLProgram
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)
-----------------------------------------------------------------------------
-- | https://threejs.org/docs/#api/en/cameras/WebGLProgram
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])
-----------------------------------------------------------------------------