-----------------------------------------------------------------------------
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
-----------------------------------------------------------------------------
module THREE.MaterialLoader
  ( -- * Types
    MaterialLoader (..)
    -- * Methods
  , THREE.MaterialLoader.new
    -- * Properties
  ) where
-----------------------------------------------------------------------------
import           Miso
-----------------------------------------------------------------------------
import qualified THREE.Internal as THREE
-----------------------------------------------------------------------------
-- | https://threejs.org/docs/#api/en/scenes/MaterialLoader
newtype MaterialLoader
  = MaterialLoader
  { MaterialLoader -> JSVal
unMaterialLoaderCamera :: JSVal
  } deriving (MaterialLoader -> IO Object
(MaterialLoader -> IO Object) -> ToObject MaterialLoader
forall a. (a -> IO Object) -> ToObject a
$ctoObject :: MaterialLoader -> IO Object
toObject :: MaterialLoader -> IO Object
ToObject)
-----------------------------------------------------------------------------
-- | https://threejs.org/docs/#api/en/cameras/MaterialLoader
new :: THREE.Three MaterialLoader
new :: Three MaterialLoader
new = (JSVal -> MaterialLoader)
-> MisoString -> [MisoString] -> Three MaterialLoader
forall args con.
ToArgs args =>
(JSVal -> con) -> MisoString -> args -> Three con
THREE.new JSVal -> MaterialLoader
MaterialLoader MisoString
"MaterialLoader" ([] :: [MisoString])
-----------------------------------------------------------------------------