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