HGamer3D-Ogre-Binding-0.1.3: HGamer3D/Bindings/Ogre/ClassBillboardSet.hs
-- GENERATED by C->Haskell Compiler, version 0.16.3 Crystal Seed, 24 Jan 2009 (Haskell)
-- Edit the ORIGNAL .chs file instead!
{-# LINE 1 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE TypeSynonymInstances #-}
-- This source file is part of HGamer3D
-- (A project to enable 3D game development in Haskell)
-- For the latest info, see http://www.althainz.de/HGamer3D.html
--
-- Copyright 2011 Dr. Peter Althainz
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
--
-- ClassBillboardSet.chs
--
--
--
--
-- File for type, method, enum or function stubs
-- in: "..\OgreSDK_vc10_v1-7-4\include\OGRE\OgreBillboardSet.h"
--
-- each stub combines the following files:
-- a C++ implementation file, transforming cpp calls into C-functions
-- a C-header file, making this C-functions available for the C2HS parser
-- a chs file, give instructions to the C2HS parser.
--
--
module HGamer3D.Bindings.Ogre.ClassBillboardSet where
import C2HS
import Foreign
import Foreign.Ptr
import Foreign.C
import Monad (liftM, liftM2)
import HGamer3D.Data.HG3DClass
import HGamer3D.Data.Vector2
import HGamer3D.Data.Vector3
import HGamer3D.Data.Vector4
import HGamer3D.Data.Quaternion
import HGamer3D.Data.ColourValue
import HGamer3D.Data.Radian
import HGamer3D.Data.Degree
import HGamer3D.Data.Angle
import HGamer3D.Bindings.Ogre.TypeHG3DClass
{-# LINE 54 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
import HGamer3D.Bindings.Ogre.ClassPtr
{-# LINE 55 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
import HGamer3D.Bindings.Ogre.Utils
{-# LINE 56 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
import HGamer3D.Bindings.Ogre.TypeVector3
{-# LINE 57 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
import HGamer3D.Bindings.Ogre.TypeColourValue
{-# LINE 58 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
import HGamer3D.Bindings.Ogre.EnumBillboardOrigin
{-# LINE 59 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
import HGamer3D.Bindings.Ogre.EnumBillboardRotationType
{-# LINE 60 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
import HGamer3D.Bindings.Ogre.TypeSharedPtr
{-# LINE 61 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
import HGamer3D.Bindings.Ogre.EnumBillboardType
{-# LINE 62 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
import HGamer3D.Bindings.Ogre.EnumSortMode
{-# LINE 63 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
cBsCreateBillboard :: HG3DClass -> Vector3 -> ColourValue -> IO (HG3DClass)
cBsCreateBillboard a1 a2 a3 =
withHG3DClass a1 $ \a1' ->
withVector3 a2 $ \a2' ->
withColourValue a3 $ \a3' ->
alloca $ \a4' ->
cBsCreateBillboard'_ a1' a2' a3' a4' >>= \res ->
peek a4'>>= \a4'' ->
return (a4'')
{-# LINE 71 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsCreateBillboard2 :: HG3DClass -> Float -> Float -> Float -> ColourValue -> IO (HG3DClass)
cBsCreateBillboard2 a1 a2 a3 a4 a5 =
withHG3DClass a1 $ \a1' ->
let {a2' = realToFrac a2} in
let {a3' = realToFrac a3} in
let {a4' = realToFrac a4} in
withColourValue a5 $ \a5' ->
alloca $ \a6' ->
cBsCreateBillboard2'_ a1' a2' a3' a4' a5' a6' >>= \res ->
peek a6'>>= \a6'' ->
return (a6'')
{-# LINE 79 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsGetNumBillboards :: HG3DClass -> IO (Int)
cBsGetNumBillboards a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
cBsGetNumBillboards'_ a1' a2' >>= \res ->
peekIntConv a2'>>= \a2'' ->
return (a2'')
{-# LINE 83 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsSetAutoextend :: HG3DClass -> Bool -> IO ()
cBsSetAutoextend a1 a2 =
withHG3DClass a1 $ \a1' ->
let {a2' = fromBool a2} in
cBsSetAutoextend'_ a1' a2' >>= \res ->
return ()
{-# LINE 87 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsGetAutoextend :: HG3DClass -> IO (Bool)
cBsGetAutoextend a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
cBsGetAutoextend'_ a1' a2' >>= \res ->
peekBoolUtil a2'>>= \a2'' ->
return (a2'')
{-# LINE 91 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsSetSortingEnabled :: HG3DClass -> Bool -> IO ()
cBsSetSortingEnabled a1 a2 =
withHG3DClass a1 $ \a1' ->
let {a2' = fromBool a2} in
cBsSetSortingEnabled'_ a1' a2' >>= \res ->
return ()
{-# LINE 95 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsGetSortingEnabled :: HG3DClass -> IO (Bool)
cBsGetSortingEnabled a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
cBsGetSortingEnabled'_ a1' a2' >>= \res ->
peekBoolUtil a2'>>= \a2'' ->
return (a2'')
{-# LINE 99 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsSetPoolSize :: HG3DClass -> Int -> IO ()
cBsSetPoolSize a1 a2 =
withHG3DClass a1 $ \a1' ->
let {a2' = fromIntegral a2} in
cBsSetPoolSize'_ a1' a2' >>= \res ->
return ()
{-# LINE 103 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsGetPoolSize :: HG3DClass -> IO (Int)
cBsGetPoolSize a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
cBsGetPoolSize'_ a1' a2' >>= \res ->
peekIntConv a2'>>= \a2'' ->
return (a2'')
{-# LINE 107 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsClear :: HG3DClass -> IO ()
cBsClear a1 =
withHG3DClass a1 $ \a1' ->
cBsClear'_ a1' >>= \res ->
return ()
{-# LINE 110 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsGetBillboard :: HG3DClass -> Int -> IO (HG3DClass)
cBsGetBillboard a1 a2 =
withHG3DClass a1 $ \a1' ->
let {a2' = fromIntegral a2} in
alloca $ \a3' ->
cBsGetBillboard'_ a1' a2' a3' >>= \res ->
peek a3'>>= \a3'' ->
return (a3'')
{-# LINE 115 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsRemoveBillboard :: HG3DClass -> Int -> IO ()
cBsRemoveBillboard a1 a2 =
withHG3DClass a1 $ \a1' ->
let {a2' = fromIntegral a2} in
cBsRemoveBillboard'_ a1' a2' >>= \res ->
return ()
{-# LINE 119 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsRemoveBillboard2 :: HG3DClass -> HG3DClass -> IO ()
cBsRemoveBillboard2 a1 a2 =
withHG3DClass a1 $ \a1' ->
withHG3DClass a2 $ \a2' ->
cBsRemoveBillboard2'_ a1' a2' >>= \res ->
return ()
{-# LINE 123 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsSetBillboardOrigin :: HG3DClass -> EnumBillboardOrigin -> IO ()
cBsSetBillboardOrigin a1 a2 =
withHG3DClass a1 $ \a1' ->
let {a2' = cIntFromEnum a2} in
cBsSetBillboardOrigin'_ a1' a2' >>= \res ->
return ()
{-# LINE 127 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsGetBillboardOrigin :: HG3DClass -> IO (EnumBillboardOrigin)
cBsGetBillboardOrigin a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
cBsGetBillboardOrigin'_ a1' a2' >>= \res ->
peekEnumUtil a2'>>= \a2'' ->
return (a2'')
{-# LINE 131 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsSetBillboardRotationType :: HG3DClass -> EnumBillboardRotationType -> IO ()
cBsSetBillboardRotationType a1 a2 =
withHG3DClass a1 $ \a1' ->
let {a2' = cIntFromEnum a2} in
cBsSetBillboardRotationType'_ a1' a2' >>= \res ->
return ()
{-# LINE 135 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsGetBillboardRotationType :: HG3DClass -> IO (EnumBillboardRotationType)
cBsGetBillboardRotationType a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
cBsGetBillboardRotationType'_ a1' a2' >>= \res ->
peekEnumUtil a2'>>= \a2'' ->
return (a2'')
{-# LINE 139 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsSetDefaultDimensions :: HG3DClass -> Float -> Float -> IO ()
cBsSetDefaultDimensions a1 a2 a3 =
withHG3DClass a1 $ \a1' ->
let {a2' = realToFrac a2} in
let {a3' = realToFrac a3} in
cBsSetDefaultDimensions'_ a1' a2' a3' >>= \res ->
return ()
{-# LINE 144 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsSetDefaultWidth :: HG3DClass -> Float -> IO ()
cBsSetDefaultWidth a1 a2 =
withHG3DClass a1 $ \a1' ->
let {a2' = realToFrac a2} in
cBsSetDefaultWidth'_ a1' a2' >>= \res ->
return ()
{-# LINE 148 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsGetDefaultWidth :: HG3DClass -> IO (Float)
cBsGetDefaultWidth a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
cBsGetDefaultWidth'_ a1' a2' >>= \res ->
peekFloatConv a2'>>= \a2'' ->
return (a2'')
{-# LINE 152 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsSetDefaultHeight :: HG3DClass -> Float -> IO ()
cBsSetDefaultHeight a1 a2 =
withHG3DClass a1 $ \a1' ->
let {a2' = realToFrac a2} in
cBsSetDefaultHeight'_ a1' a2' >>= \res ->
return ()
{-# LINE 156 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsGetDefaultHeight :: HG3DClass -> IO (Float)
cBsGetDefaultHeight a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
cBsGetDefaultHeight'_ a1' a2' >>= \res ->
peekFloatConv a2'>>= \a2'' ->
return (a2'')
{-# LINE 160 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsSetMaterialName :: HG3DClass -> String -> String -> IO ()
cBsSetMaterialName a1 a2 a3 =
withHG3DClass a1 $ \a1' ->
withCString a2 $ \a2' ->
withCString a3 $ \a3' ->
cBsSetMaterialName'_ a1' a2' a3' >>= \res ->
return ()
{-# LINE 165 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsGetMaterialName :: HG3DClass -> IO (String)
cBsGetMaterialName a1 =
withHG3DClass a1 $ \a1' ->
alloc64k $ \a2' ->
cBsGetMaterialName'_ a1' a2' >>= \res ->
peekCString a2'>>= \a2'' ->
return (a2'')
{-# LINE 169 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsNotifyCurrentCamera :: HG3DClass -> HG3DClass -> IO ()
cBsNotifyCurrentCamera a1 a2 =
withHG3DClass a1 $ \a1' ->
withHG3DClass a2 $ \a2' ->
cBsNotifyCurrentCamera'_ a1' a2' >>= \res ->
return ()
{-# LINE 173 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsBeginBillboards :: HG3DClass -> Int -> IO ()
cBsBeginBillboards a1 a2 =
withHG3DClass a1 $ \a1' ->
let {a2' = fromIntegral a2} in
cBsBeginBillboards'_ a1' a2' >>= \res ->
return ()
{-# LINE 177 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsEndBillboards :: HG3DClass -> IO ()
cBsEndBillboards a1 =
withHG3DClass a1 $ \a1' ->
cBsEndBillboards'_ a1' >>= \res ->
return ()
{-# LINE 180 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsGetBoundingRadius :: HG3DClass -> IO (Float)
cBsGetBoundingRadius a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
cBsGetBoundingRadius'_ a1' a2' >>= \res ->
peekFloatConv a2'>>= \a2'' ->
return (a2'')
{-# LINE 184 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsGetMaterial :: HG3DClass -> IO (SharedPtr)
cBsGetMaterial a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
cBsGetMaterial'_ a1' a2' >>= \res ->
peek a2'>>= \a2'' ->
return (a2'')
{-# LINE 188 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsSetMaterial :: HG3DClass -> SharedPtr -> IO ()
cBsSetMaterial a1 a2 =
withHG3DClass a1 $ \a1' ->
withSharedPtr a2 $ \a2' ->
cBsSetMaterial'_ a1' a2' >>= \res ->
return ()
{-# LINE 192 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsNotifyBillboardResized :: HG3DClass -> IO ()
cBsNotifyBillboardResized a1 =
withHG3DClass a1 $ \a1' ->
cBsNotifyBillboardResized'_ a1' >>= \res ->
return ()
{-# LINE 195 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsNotifyBillboardRotated :: HG3DClass -> IO ()
cBsNotifyBillboardRotated a1 =
withHG3DClass a1 $ \a1' ->
cBsNotifyBillboardRotated'_ a1' >>= \res ->
return ()
{-# LINE 198 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsGetCullIndividually :: HG3DClass -> IO (Bool)
cBsGetCullIndividually a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
cBsGetCullIndividually'_ a1' a2' >>= \res ->
peekBoolUtil a2'>>= \a2'' ->
return (a2'')
{-# LINE 202 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsSetCullIndividually :: HG3DClass -> Bool -> IO ()
cBsSetCullIndividually a1 a2 =
withHG3DClass a1 $ \a1' ->
let {a2' = fromBool a2} in
cBsSetCullIndividually'_ a1' a2' >>= \res ->
return ()
{-# LINE 206 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsSetBillboardType :: HG3DClass -> EnumBillboardType -> IO ()
cBsSetBillboardType a1 a2 =
withHG3DClass a1 $ \a1' ->
let {a2' = cIntFromEnum a2} in
cBsSetBillboardType'_ a1' a2' >>= \res ->
return ()
{-# LINE 210 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsGetBillboardType :: HG3DClass -> IO (EnumBillboardType)
cBsGetBillboardType a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
cBsGetBillboardType'_ a1' a2' >>= \res ->
peekEnumUtil a2'>>= \a2'' ->
return (a2'')
{-# LINE 214 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsSetCommonDirection :: HG3DClass -> Vector3 -> IO ()
cBsSetCommonDirection a1 a2 =
withHG3DClass a1 $ \a1' ->
withVector3 a2 $ \a2' ->
cBsSetCommonDirection'_ a1' a2' >>= \res ->
return ()
{-# LINE 218 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsGetCommonDirection :: HG3DClass -> IO (Vector3)
cBsGetCommonDirection a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
cBsGetCommonDirection'_ a1' a2' >>= \res ->
peek a2'>>= \a2'' ->
return (a2'')
{-# LINE 222 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsSetCommonUpVector :: HG3DClass -> Vector3 -> IO ()
cBsSetCommonUpVector a1 a2 =
withHG3DClass a1 $ \a1' ->
withVector3 a2 $ \a2' ->
cBsSetCommonUpVector'_ a1' a2' >>= \res ->
return ()
{-# LINE 226 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsGetCommonUpVector :: HG3DClass -> IO (Vector3)
cBsGetCommonUpVector a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
cBsGetCommonUpVector'_ a1' a2' >>= \res ->
peek a2'>>= \a2'' ->
return (a2'')
{-# LINE 230 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsSetUseAccurateFacing :: HG3DClass -> Bool -> IO ()
cBsSetUseAccurateFacing a1 a2 =
withHG3DClass a1 $ \a1' ->
let {a2' = fromBool a2} in
cBsSetUseAccurateFacing'_ a1' a2' >>= \res ->
return ()
{-# LINE 234 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsGetUseAccurateFacing :: HG3DClass -> IO (Bool)
cBsGetUseAccurateFacing a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
cBsGetUseAccurateFacing'_ a1' a2' >>= \res ->
peekBoolUtil a2'>>= \a2'' ->
return (a2'')
{-# LINE 238 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsGetMovableType :: HG3DClass -> IO (String)
cBsGetMovableType a1 =
withHG3DClass a1 $ \a1' ->
alloc64k $ \a2' ->
cBsGetMovableType'_ a1' a2' >>= \res ->
peekCString a2'>>= \a2'' ->
return (a2'')
{-# LINE 242 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsUpdateBounds :: HG3DClass -> IO ()
cBsUpdateBounds a1 =
withHG3DClass a1 $ \a1' ->
cBsUpdateBounds'_ a1' >>= \res ->
return ()
{-# LINE 245 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsSortBillboards :: HG3DClass -> HG3DClass -> IO ()
cBsSortBillboards a1 a2 =
withHG3DClass a1 $ \a1' ->
withHG3DClass a2 $ \a2' ->
cBsSortBillboards'_ a1' a2' >>= \res ->
return ()
{-# LINE 249 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsGetSortMode :: HG3DClass -> IO (EnumSortMode)
cBsGetSortMode a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
cBsGetSortMode'_ a1' a2' >>= \res ->
peekEnumUtil a2'>>= \a2'' ->
return (a2'')
{-# LINE 253 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsSetBillboardsInWorldSpace :: HG3DClass -> Bool -> IO ()
cBsSetBillboardsInWorldSpace a1 a2 =
withHG3DClass a1 $ \a1' ->
let {a2' = fromBool a2} in
cBsSetBillboardsInWorldSpace'_ a1' a2' >>= \res ->
return ()
{-# LINE 257 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsSetPointRenderingEnabled :: HG3DClass -> Bool -> IO ()
cBsSetPointRenderingEnabled a1 a2 =
withHG3DClass a1 $ \a1' ->
let {a2' = fromBool a2} in
cBsSetPointRenderingEnabled'_ a1' a2' >>= \res ->
return ()
{-# LINE 261 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsIsPointRenderingEnabled :: HG3DClass -> IO (Bool)
cBsIsPointRenderingEnabled a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
cBsIsPointRenderingEnabled'_ a1' a2' >>= \res ->
peekBoolUtil a2'>>= \a2'' ->
return (a2'')
{-# LINE 265 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsGetTypeFlags :: HG3DClass -> IO (Int)
cBsGetTypeFlags a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
cBsGetTypeFlags'_ a1' a2' >>= \res ->
peekIntConv a2'>>= \a2'' ->
return (a2'')
{-# LINE 269 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsSetAutoUpdate :: HG3DClass -> Bool -> IO ()
cBsSetAutoUpdate a1 a2 =
withHG3DClass a1 $ \a1' ->
let {a2' = fromBool a2} in
cBsSetAutoUpdate'_ a1' a2' >>= \res ->
return ()
{-# LINE 273 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsGetAutoUpdate :: HG3DClass -> IO (Bool)
cBsGetAutoUpdate a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
cBsGetAutoUpdate'_ a1' a2' >>= \res ->
peekBoolUtil a2'>>= \a2'' ->
return (a2'')
{-# LINE 277 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
cBsNotifyBillboardDataChanged :: HG3DClass -> IO ()
cBsNotifyBillboardDataChanged a1 =
withHG3DClass a1 $ \a1' ->
cBsNotifyBillboardDataChanged'_ a1' >>= \res ->
return ()
{-# LINE 280 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-}
;
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_createBillboard_c"
cBsCreateBillboard'_ :: ((HG3DClassPtr) -> ((Vector3Ptr) -> ((ColourValuePtr) -> ((HG3DClassPtr) -> (IO ())))))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_createBillboard2_c"
cBsCreateBillboard2'_ :: ((HG3DClassPtr) -> (CFloat -> (CFloat -> (CFloat -> ((ColourValuePtr) -> ((HG3DClassPtr) -> (IO ())))))))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_getNumBillboards_c"
cBsGetNumBillboards'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_setAutoextend_c"
cBsSetAutoextend'_ :: ((HG3DClassPtr) -> (CInt -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_getAutoextend_c"
cBsGetAutoextend'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_setSortingEnabled_c"
cBsSetSortingEnabled'_ :: ((HG3DClassPtr) -> (CInt -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_getSortingEnabled_c"
cBsGetSortingEnabled'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_setPoolSize_c"
cBsSetPoolSize'_ :: ((HG3DClassPtr) -> (CInt -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_getPoolSize_c"
cBsGetPoolSize'_ :: ((HG3DClassPtr) -> ((Ptr CUInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_clear_c"
cBsClear'_ :: ((HG3DClassPtr) -> (IO ()))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_getBillboard_c"
cBsGetBillboard'_ :: ((HG3DClassPtr) -> (CUInt -> ((HG3DClassPtr) -> (IO ()))))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_removeBillboard_c"
cBsRemoveBillboard'_ :: ((HG3DClassPtr) -> (CUInt -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_removeBillboard2_c"
cBsRemoveBillboard2'_ :: ((HG3DClassPtr) -> ((HG3DClassPtr) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_setBillboardOrigin_c"
cBsSetBillboardOrigin'_ :: ((HG3DClassPtr) -> (CInt -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_getBillboardOrigin_c"
cBsGetBillboardOrigin'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_setBillboardRotationType_c"
cBsSetBillboardRotationType'_ :: ((HG3DClassPtr) -> (CInt -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_getBillboardRotationType_c"
cBsGetBillboardRotationType'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_setDefaultDimensions_c"
cBsSetDefaultDimensions'_ :: ((HG3DClassPtr) -> (CFloat -> (CFloat -> (IO ()))))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_setDefaultWidth_c"
cBsSetDefaultWidth'_ :: ((HG3DClassPtr) -> (CFloat -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_getDefaultWidth_c"
cBsGetDefaultWidth'_ :: ((HG3DClassPtr) -> ((Ptr CFloat) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_setDefaultHeight_c"
cBsSetDefaultHeight'_ :: ((HG3DClassPtr) -> (CFloat -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_getDefaultHeight_c"
cBsGetDefaultHeight'_ :: ((HG3DClassPtr) -> ((Ptr CFloat) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_setMaterialName_c"
cBsSetMaterialName'_ :: ((HG3DClassPtr) -> ((Ptr CChar) -> ((Ptr CChar) -> (IO ()))))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_getMaterialName_c"
cBsGetMaterialName'_ :: ((HG3DClassPtr) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs__notifyCurrentCamera_c"
cBsNotifyCurrentCamera'_ :: ((HG3DClassPtr) -> ((HG3DClassPtr) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_beginBillboards_c"
cBsBeginBillboards'_ :: ((HG3DClassPtr) -> (CInt -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_endBillboards_c"
cBsEndBillboards'_ :: ((HG3DClassPtr) -> (IO ()))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_getBoundingRadius_c"
cBsGetBoundingRadius'_ :: ((HG3DClassPtr) -> ((Ptr CFloat) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_getMaterial_c"
cBsGetMaterial'_ :: ((HG3DClassPtr) -> ((SharedPtrPtr) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_setMaterial_c"
cBsSetMaterial'_ :: ((HG3DClassPtr) -> ((SharedPtrPtr) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs__notifyBillboardResized_c"
cBsNotifyBillboardResized'_ :: ((HG3DClassPtr) -> (IO ()))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs__notifyBillboardRotated_c"
cBsNotifyBillboardRotated'_ :: ((HG3DClassPtr) -> (IO ()))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_getCullIndividually_c"
cBsGetCullIndividually'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_setCullIndividually_c"
cBsSetCullIndividually'_ :: ((HG3DClassPtr) -> (CInt -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_setBillboardType_c"
cBsSetBillboardType'_ :: ((HG3DClassPtr) -> (CInt -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_getBillboardType_c"
cBsGetBillboardType'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_setCommonDirection_c"
cBsSetCommonDirection'_ :: ((HG3DClassPtr) -> ((Vector3Ptr) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_getCommonDirection_c"
cBsGetCommonDirection'_ :: ((HG3DClassPtr) -> ((Vector3Ptr) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_setCommonUpVector_c"
cBsSetCommonUpVector'_ :: ((HG3DClassPtr) -> ((Vector3Ptr) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_getCommonUpVector_c"
cBsGetCommonUpVector'_ :: ((HG3DClassPtr) -> ((Vector3Ptr) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_setUseAccurateFacing_c"
cBsSetUseAccurateFacing'_ :: ((HG3DClassPtr) -> (CInt -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_getUseAccurateFacing_c"
cBsGetUseAccurateFacing'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_getMovableType_c"
cBsGetMovableType'_ :: ((HG3DClassPtr) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs__updateBounds_c"
cBsUpdateBounds'_ :: ((HG3DClassPtr) -> (IO ()))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs__sortBillboards_c"
cBsSortBillboards'_ :: ((HG3DClassPtr) -> ((HG3DClassPtr) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs__getSortMode_c"
cBsGetSortMode'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_setBillboardsInWorldSpace_c"
cBsSetBillboardsInWorldSpace'_ :: ((HG3DClassPtr) -> (CInt -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_setPointRenderingEnabled_c"
cBsSetPointRenderingEnabled'_ :: ((HG3DClassPtr) -> (CInt -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_isPointRenderingEnabled_c"
cBsIsPointRenderingEnabled'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_getTypeFlags_c"
cBsGetTypeFlags'_ :: ((HG3DClassPtr) -> ((Ptr CUInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_setAutoUpdate_c"
cBsSetAutoUpdate'_ :: ((HG3DClassPtr) -> (CInt -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_getAutoUpdate_c"
cBsGetAutoUpdate'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_notifyBillboardDataChanged_c"
cBsNotifyBillboardDataChanged'_ :: ((HG3DClassPtr) -> (IO ()))