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