{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
module THREE.Constants.BufferAttributeUsage
(
BufferAttributeUsage (..)
, THREE.Constants.BufferAttributeUsage.new
) where
import Miso
import qualified THREE.Internal as THREE
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)
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])