-- 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.Colour import HGamer3D.Data.Angle import HGamer3D.Bindings.Ogre.TypeHG3DClass {-# LINE 52 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-} import HGamer3D.Bindings.Ogre.ClassPtr {-# LINE 53 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-} import HGamer3D.Bindings.Ogre.Utils {-# LINE 54 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-} import HGamer3D.Bindings.Ogre.TypeVector3 {-# LINE 55 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-} import HGamer3D.Bindings.Ogre.TypeColour {-# LINE 56 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-} import HGamer3D.Bindings.Ogre.EnumBillboardOrigin {-# LINE 57 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-} import HGamer3D.Bindings.Ogre.EnumBillboardRotationType {-# LINE 58 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-} import HGamer3D.Bindings.Ogre.TypeSharedPtr {-# LINE 59 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-} import HGamer3D.Bindings.Ogre.EnumBillboardType {-# LINE 60 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-} import HGamer3D.Bindings.Ogre.EnumSortMode {-# LINE 61 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-} cBsCreateBillboard :: HG3DClass -> Vector3 -> Colour -> IO (HG3DClass) cBsCreateBillboard a1 a2 a3 = withHG3DClass a1 $ \a1' -> withVector3 a2 $ \a2' -> withColour a3 $ \a3' -> alloca $ \a4' -> cBsCreateBillboard'_ a1' a2' a3' a4' >>= \res -> peek a4'>>= \a4'' -> return (a4'') {-# LINE 69 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-} ; cBsCreateBillboard2 :: HG3DClass -> Float -> Float -> Float -> Colour -> 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 withColour a5 $ \a5' -> alloca $ \a6' -> cBsCreateBillboard2'_ a1' a2' a3' a4' a5' a6' >>= \res -> peek a6'>>= \a6'' -> return (a6'') {-# LINE 77 "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 81 "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 85 "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 89 "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 93 "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 97 "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 101 "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 105 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-} ; cBsClear :: HG3DClass -> IO () cBsClear a1 = withHG3DClass a1 $ \a1' -> cBsClear'_ a1' >>= \res -> return () {-# LINE 108 "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 113 "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 117 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-} ; cBsRemoveBillboard2 :: HG3DClass -> HG3DClass -> IO () cBsRemoveBillboard2 a1 a2 = withHG3DClass a1 $ \a1' -> withHG3DClass a2 $ \a2' -> cBsRemoveBillboard2'_ a1' a2' >>= \res -> return () {-# LINE 121 "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 125 "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 129 "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 133 "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 137 "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 142 "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 146 "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 150 "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 154 "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 158 "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 163 "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 167 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-} ; cBsNotifyCurrentCamera :: HG3DClass -> HG3DClass -> IO () cBsNotifyCurrentCamera a1 a2 = withHG3DClass a1 $ \a1' -> withHG3DClass a2 $ \a2' -> cBsNotifyCurrentCamera'_ a1' a2' >>= \res -> return () {-# LINE 171 "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 175 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-} ; cBsEndBillboards :: HG3DClass -> IO () cBsEndBillboards a1 = withHG3DClass a1 $ \a1' -> cBsEndBillboards'_ a1' >>= \res -> return () {-# LINE 178 "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 182 "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 186 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-} ; cBsSetMaterial :: HG3DClass -> SharedPtr -> IO () cBsSetMaterial a1 a2 = withHG3DClass a1 $ \a1' -> withSharedPtr a2 $ \a2' -> cBsSetMaterial'_ a1' a2' >>= \res -> return () {-# LINE 190 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-} ; cBsNotifyBillboardResized :: HG3DClass -> IO () cBsNotifyBillboardResized a1 = withHG3DClass a1 $ \a1' -> cBsNotifyBillboardResized'_ a1' >>= \res -> return () {-# LINE 193 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-} ; cBsNotifyBillboardRotated :: HG3DClass -> IO () cBsNotifyBillboardRotated a1 = withHG3DClass a1 $ \a1' -> cBsNotifyBillboardRotated'_ a1' >>= \res -> return () {-# LINE 196 "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 200 "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 204 "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 208 "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 212 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-} ; cBsSetCommonDirection :: HG3DClass -> Vector3 -> IO () cBsSetCommonDirection a1 a2 = withHG3DClass a1 $ \a1' -> withVector3 a2 $ \a2' -> cBsSetCommonDirection'_ a1' a2' >>= \res -> return () {-# LINE 216 "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 220 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-} ; cBsSetCommonUpVector :: HG3DClass -> Vector3 -> IO () cBsSetCommonUpVector a1 a2 = withHG3DClass a1 $ \a1' -> withVector3 a2 $ \a2' -> cBsSetCommonUpVector'_ a1' a2' >>= \res -> return () {-# LINE 224 "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 228 "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 232 "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 236 "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 240 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-} ; cBsUpdateBounds :: HG3DClass -> IO () cBsUpdateBounds a1 = withHG3DClass a1 $ \a1' -> cBsUpdateBounds'_ a1' >>= \res -> return () {-# LINE 243 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-} ; cBsSortBillboards :: HG3DClass -> HG3DClass -> IO () cBsSortBillboards a1 a2 = withHG3DClass a1 $ \a1' -> withHG3DClass a2 $ \a2' -> cBsSortBillboards'_ a1' a2' >>= \res -> return () {-# LINE 247 "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 251 "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 255 "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 259 "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 263 "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 267 "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 271 "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 275 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-} ; cBsNotifyBillboardDataChanged :: HG3DClass -> IO () cBsNotifyBillboardDataChanged a1 = withHG3DClass a1 $ \a1' -> cBsNotifyBillboardDataChanged'_ a1' >>= \res -> return () {-# LINE 278 "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs" #-} ; foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_createBillboard_c" cBsCreateBillboard'_ :: ((HG3DClassPtr) -> ((Vector3Ptr) -> ((ColourPtr) -> ((HG3DClassPtr) -> (IO ()))))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassBillboardSet.chs.h cBs_createBillboard2_c" cBsCreateBillboard2'_ :: ((HG3DClassPtr) -> (CFloat -> (CFloat -> (CFloat -> ((ColourPtr) -> ((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 ()))