{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
module THREE.InstancedBufferAttribute
(
InstancedBufferAttribute (..)
, THREE.InstancedBufferAttribute.new
) where
import Miso
import qualified THREE.Internal as THREE
newtype InstancedBufferAttribute
= InstancedBufferAttribute
{ InstancedBufferAttribute -> JSVal
unInstancedBufferAttributeCamera :: JSVal
} deriving (InstancedBufferAttribute -> IO Object
(InstancedBufferAttribute -> IO Object)
-> ToObject InstancedBufferAttribute
forall a. (a -> IO Object) -> ToObject a
$ctoObject :: InstancedBufferAttribute -> IO Object
toObject :: InstancedBufferAttribute -> IO Object
ToObject)
new :: THREE.Three InstancedBufferAttribute
new :: Three InstancedBufferAttribute
new = (JSVal -> InstancedBufferAttribute)
-> MisoString -> [MisoString] -> Three InstancedBufferAttribute
forall args con.
ToArgs args =>
(JSVal -> con) -> MisoString -> args -> Three con
THREE.new JSVal -> InstancedBufferAttribute
InstancedBufferAttribute MisoString
"InstancedBufferAttribute" ([] :: [MisoString])