-- 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\\ClassMaterial.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. -- -- ClassMaterial.chs -- -- -- -- -- File for type, method, enum or function stubs -- in: "..\OgreSDK_vc10_v1-7-3\include\OGRE\OgreMaterial.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.ClassMaterial 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\\ClassMaterial.chs" #-} import HGamer3D.Bindings.Ogre.ClassPtr {-# LINE 55 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} import HGamer3D.Bindings.Ogre.Utils {-# LINE 56 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} import HGamer3D.Bindings.Ogre.TypeColourValue {-# LINE 57 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} import HGamer3D.Bindings.Ogre.EnumCompareFunction {-# LINE 58 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} import HGamer3D.Bindings.Ogre.EnumCullingMode {-# LINE 59 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} import HGamer3D.Bindings.Ogre.EnumManualCullingMode {-# LINE 60 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} import HGamer3D.Bindings.Ogre.EnumShadeOptions {-# LINE 61 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} import HGamer3D.Bindings.Ogre.EnumFogMode {-# LINE 62 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} import HGamer3D.Bindings.Ogre.EnumTextureFilterOptions {-# LINE 63 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} cMtIsTransparent :: HG3DClass -> IO (Bool) cMtIsTransparent a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cMtIsTransparent'_ a1' a2' >>= \res -> peekBoolUtil a2'>>= \a2'' -> return (a2'') {-# LINE 69 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtSetReceiveShadows :: HG3DClass -> Bool -> IO () cMtSetReceiveShadows a1 a2 = withHG3DClass a1 $ \a1' -> let {a2' = fromBool a2} in cMtSetReceiveShadows'_ a1' a2' >>= \res -> return () {-# LINE 73 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtGetReceiveShadows :: HG3DClass -> IO (Bool) cMtGetReceiveShadows a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cMtGetReceiveShadows'_ a1' a2' >>= \res -> peekBoolUtil a2'>>= \a2'' -> return (a2'') {-# LINE 77 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtSetTransparencyCastsShadows :: HG3DClass -> Bool -> IO () cMtSetTransparencyCastsShadows a1 a2 = withHG3DClass a1 $ \a1' -> let {a2' = fromBool a2} in cMtSetTransparencyCastsShadows'_ a1' a2' >>= \res -> return () {-# LINE 81 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtGetTransparencyCastsShadows :: HG3DClass -> IO (Bool) cMtGetTransparencyCastsShadows a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cMtGetTransparencyCastsShadows'_ a1' a2' >>= \res -> peekBoolUtil a2'>>= \a2'' -> return (a2'') {-# LINE 85 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtCreateTechnique :: HG3DClass -> IO (HG3DClass) cMtCreateTechnique a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cMtCreateTechnique'_ a1' a2' >>= \res -> peek a2'>>= \a2'' -> return (a2'') {-# LINE 89 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtGetTechnique :: HG3DClass -> Int -> IO (HG3DClass) cMtGetTechnique a1 a2 = withHG3DClass a1 $ \a1' -> let {a2' = fromIntegral a2} in alloca $ \a3' -> cMtGetTechnique'_ a1' a2' a3' >>= \res -> peek a3'>>= \a3'' -> return (a3'') {-# LINE 94 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtGetTechnique2 :: HG3DClass -> String -> IO (HG3DClass) cMtGetTechnique2 a1 a2 = withHG3DClass a1 $ \a1' -> withCString a2 $ \a2' -> alloca $ \a3' -> cMtGetTechnique2'_ a1' a2' a3' >>= \res -> peek a3'>>= \a3'' -> return (a3'') {-# LINE 99 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtGetNumTechniques :: HG3DClass -> IO (Int) cMtGetNumTechniques a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cMtGetNumTechniques'_ a1' a2' >>= \res -> peekIntConv a2'>>= \a2'' -> return (a2'') {-# LINE 103 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtRemoveTechnique :: HG3DClass -> Int -> IO () cMtRemoveTechnique a1 a2 = withHG3DClass a1 $ \a1' -> let {a2' = fromIntegral a2} in cMtRemoveTechnique'_ a1' a2' >>= \res -> return () {-# LINE 107 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtRemoveAllTechniques :: HG3DClass -> IO () cMtRemoveAllTechniques a1 = withHG3DClass a1 $ \a1' -> cMtRemoveAllTechniques'_ a1' >>= \res -> return () {-# LINE 110 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtGetSupportedTechnique :: HG3DClass -> Int -> IO (HG3DClass) cMtGetSupportedTechnique a1 a2 = withHG3DClass a1 $ \a1' -> let {a2' = fromIntegral a2} in alloca $ \a3' -> cMtGetSupportedTechnique'_ a1' a2' a3' >>= \res -> peek a3'>>= \a3'' -> return (a3'') {-# LINE 115 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtGetNumSupportedTechniques :: HG3DClass -> IO (Int) cMtGetNumSupportedTechniques a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cMtGetNumSupportedTechniques'_ a1' a2' >>= \res -> peekIntConv a2'>>= \a2'' -> return (a2'') {-# LINE 119 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtGetUnsupportedTechniquesExplanation :: HG3DClass -> IO (String) cMtGetUnsupportedTechniquesExplanation a1 = withHG3DClass a1 $ \a1' -> alloc64k $ \a2' -> cMtGetUnsupportedTechniquesExplanation'_ a1' a2' >>= \res -> peekCString a2'>>= \a2'' -> return (a2'') {-# LINE 123 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtGetNumLodLevels :: HG3DClass -> Int -> IO (Int) cMtGetNumLodLevels a1 a2 = withHG3DClass a1 $ \a1' -> let {a2' = fromIntegral a2} in alloca $ \a3' -> cMtGetNumLodLevels'_ a1' a2' a3' >>= \res -> peekIntConv a3'>>= \a3'' -> return (a3'') {-# LINE 128 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtGetNumLodLevels2 :: HG3DClass -> String -> IO (Int) cMtGetNumLodLevels2 a1 a2 = withHG3DClass a1 $ \a1' -> withCString a2 $ \a2' -> alloca $ \a3' -> cMtGetNumLodLevels2'_ a1' a2' a3' >>= \res -> peekIntConv a3'>>= \a3'' -> return (a3'') {-# LINE 133 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtCompile :: HG3DClass -> Bool -> IO () cMtCompile a1 a2 = withHG3DClass a1 $ \a1' -> let {a2' = fromBool a2} in cMtCompile'_ a1' a2' >>= \res -> return () {-# LINE 137 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtSetPointSize :: HG3DClass -> Float -> IO () cMtSetPointSize a1 a2 = withHG3DClass a1 $ \a1' -> let {a2' = realToFrac a2} in cMtSetPointSize'_ a1' a2' >>= \res -> return () {-# LINE 141 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtSetAmbient :: HG3DClass -> Float -> Float -> Float -> IO () cMtSetAmbient a1 a2 a3 a4 = withHG3DClass a1 $ \a1' -> let {a2' = realToFrac a2} in let {a3' = realToFrac a3} in let {a4' = realToFrac a4} in cMtSetAmbient'_ a1' a2' a3' a4' >>= \res -> return () {-# LINE 147 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtSetAmbient2 :: HG3DClass -> ColourValue -> IO () cMtSetAmbient2 a1 a2 = withHG3DClass a1 $ \a1' -> withColourValue a2 $ \a2' -> cMtSetAmbient2'_ a1' a2' >>= \res -> return () {-# LINE 151 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtSetDiffuse :: HG3DClass -> Float -> Float -> Float -> Float -> IO () cMtSetDiffuse a1 a2 a3 a4 a5 = withHG3DClass a1 $ \a1' -> let {a2' = realToFrac a2} in let {a3' = realToFrac a3} in let {a4' = realToFrac a4} in let {a5' = realToFrac a5} in cMtSetDiffuse'_ a1' a2' a3' a4' a5' >>= \res -> return () {-# LINE 158 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtSetDiffuse2 :: HG3DClass -> ColourValue -> IO () cMtSetDiffuse2 a1 a2 = withHG3DClass a1 $ \a1' -> withColourValue a2 $ \a2' -> cMtSetDiffuse2'_ a1' a2' >>= \res -> return () {-# LINE 162 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtSetSpecular :: HG3DClass -> Float -> Float -> Float -> Float -> IO () cMtSetSpecular a1 a2 a3 a4 a5 = withHG3DClass a1 $ \a1' -> let {a2' = realToFrac a2} in let {a3' = realToFrac a3} in let {a4' = realToFrac a4} in let {a5' = realToFrac a5} in cMtSetSpecular'_ a1' a2' a3' a4' a5' >>= \res -> return () {-# LINE 169 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtSetSpecular2 :: HG3DClass -> ColourValue -> IO () cMtSetSpecular2 a1 a2 = withHG3DClass a1 $ \a1' -> withColourValue a2 $ \a2' -> cMtSetSpecular2'_ a1' a2' >>= \res -> return () {-# LINE 173 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtSetShininess :: HG3DClass -> Float -> IO () cMtSetShininess a1 a2 = withHG3DClass a1 $ \a1' -> let {a2' = realToFrac a2} in cMtSetShininess'_ a1' a2' >>= \res -> return () {-# LINE 177 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtSetSelfIllumination :: HG3DClass -> Float -> Float -> Float -> IO () cMtSetSelfIllumination a1 a2 a3 a4 = withHG3DClass a1 $ \a1' -> let {a2' = realToFrac a2} in let {a3' = realToFrac a3} in let {a4' = realToFrac a4} in cMtSetSelfIllumination'_ a1' a2' a3' a4' >>= \res -> return () {-# LINE 183 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtSetSelfIllumination2 :: HG3DClass -> ColourValue -> IO () cMtSetSelfIllumination2 a1 a2 = withHG3DClass a1 $ \a1' -> withColourValue a2 $ \a2' -> cMtSetSelfIllumination2'_ a1' a2' >>= \res -> return () {-# LINE 187 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtSetDepthCheckEnabled :: HG3DClass -> Bool -> IO () cMtSetDepthCheckEnabled a1 a2 = withHG3DClass a1 $ \a1' -> let {a2' = fromBool a2} in cMtSetDepthCheckEnabled'_ a1' a2' >>= \res -> return () {-# LINE 191 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtSetDepthWriteEnabled :: HG3DClass -> Bool -> IO () cMtSetDepthWriteEnabled a1 a2 = withHG3DClass a1 $ \a1' -> let {a2' = fromBool a2} in cMtSetDepthWriteEnabled'_ a1' a2' >>= \res -> return () {-# LINE 195 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtSetDepthFunction :: HG3DClass -> EnumCompareFunction -> IO () cMtSetDepthFunction a1 a2 = withHG3DClass a1 $ \a1' -> let {a2' = cIntFromEnum a2} in cMtSetDepthFunction'_ a1' a2' >>= \res -> return () {-# LINE 199 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtSetColourWriteEnabled :: HG3DClass -> Bool -> IO () cMtSetColourWriteEnabled a1 a2 = withHG3DClass a1 $ \a1' -> let {a2' = fromBool a2} in cMtSetColourWriteEnabled'_ a1' a2' >>= \res -> return () {-# LINE 203 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtSetCullingMode :: HG3DClass -> EnumCullingMode -> IO () cMtSetCullingMode a1 a2 = withHG3DClass a1 $ \a1' -> let {a2' = cIntFromEnum a2} in cMtSetCullingMode'_ a1' a2' >>= \res -> return () {-# LINE 207 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtSetManualCullingMode :: HG3DClass -> EnumManualCullingMode -> IO () cMtSetManualCullingMode a1 a2 = withHG3DClass a1 $ \a1' -> let {a2' = cIntFromEnum a2} in cMtSetManualCullingMode'_ a1' a2' >>= \res -> return () {-# LINE 211 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtSetLightingEnabled :: HG3DClass -> Bool -> IO () cMtSetLightingEnabled a1 a2 = withHG3DClass a1 $ \a1' -> let {a2' = fromBool a2} in cMtSetLightingEnabled'_ a1' a2' >>= \res -> return () {-# LINE 215 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtSetShadingMode :: HG3DClass -> EnumShadeOptions -> IO () cMtSetShadingMode a1 a2 = withHG3DClass a1 $ \a1' -> let {a2' = cIntFromEnum a2} in cMtSetShadingMode'_ a1' a2' >>= \res -> return () {-# LINE 219 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtSetFog :: HG3DClass -> Bool -> EnumFogMode -> ColourValue -> Float -> Float -> Float -> IO () cMtSetFog a1 a2 a3 a4 a5 a6 a7 = withHG3DClass a1 $ \a1' -> let {a2' = fromBool a2} in let {a3' = cIntFromEnum a3} in withColourValue a4 $ \a4' -> let {a5' = realToFrac a5} in let {a6' = realToFrac a6} in let {a7' = realToFrac a7} in cMtSetFog'_ a1' a2' a3' a4' a5' a6' a7' >>= \res -> return () {-# LINE 228 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtSetDepthBias :: HG3DClass -> Float -> Float -> IO () cMtSetDepthBias a1 a2 a3 = withHG3DClass a1 $ \a1' -> let {a2' = realToFrac a2} in let {a3' = realToFrac a3} in cMtSetDepthBias'_ a1' a2' a3' >>= \res -> return () {-# LINE 233 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtSetTextureFiltering :: HG3DClass -> EnumTextureFilterOptions -> IO () cMtSetTextureFiltering a1 a2 = withHG3DClass a1 $ \a1' -> let {a2' = cIntFromEnum a2} in cMtSetTextureFiltering'_ a1' a2' >>= \res -> return () {-# LINE 237 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtSetTextureAnisotropy :: HG3DClass -> Int -> IO () cMtSetTextureAnisotropy a1 a2 = withHG3DClass a1 $ \a1' -> let {a2' = fromIntegral a2} in cMtSetTextureAnisotropy'_ a1' a2' >>= \res -> return () {-# LINE 241 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtNotifyNeedsRecompile :: HG3DClass -> IO () cMtNotifyNeedsRecompile a1 = withHG3DClass a1 $ \a1' -> cMtNotifyNeedsRecompile'_ a1' >>= \res -> return () {-# LINE 244 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtTouch :: HG3DClass -> IO () cMtTouch a1 = withHG3DClass a1 $ \a1' -> cMtTouch'_ a1' >>= \res -> return () {-# LINE 247 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtGetCompilationRequired :: HG3DClass -> IO (Bool) cMtGetCompilationRequired a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cMtGetCompilationRequired'_ a1' a2' >>= \res -> peekBoolUtil a2'>>= \a2'' -> return (a2'') {-# LINE 251 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_isTransparent_c" cMtIsTransparent'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_setReceiveShadows_c" cMtSetReceiveShadows'_ :: ((HG3DClassPtr) -> (CInt -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_getReceiveShadows_c" cMtGetReceiveShadows'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_setTransparencyCastsShadows_c" cMtSetTransparencyCastsShadows'_ :: ((HG3DClassPtr) -> (CInt -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_getTransparencyCastsShadows_c" cMtGetTransparencyCastsShadows'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_createTechnique_c" cMtCreateTechnique'_ :: ((HG3DClassPtr) -> ((HG3DClassPtr) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_getTechnique_c" cMtGetTechnique'_ :: ((HG3DClassPtr) -> (CUInt -> ((HG3DClassPtr) -> (IO ())))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_getTechnique2_c" cMtGetTechnique2'_ :: ((HG3DClassPtr) -> ((Ptr CChar) -> ((HG3DClassPtr) -> (IO ())))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_getNumTechniques_c" cMtGetNumTechniques'_ :: ((HG3DClassPtr) -> ((Ptr CUInt) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_removeTechnique_c" cMtRemoveTechnique'_ :: ((HG3DClassPtr) -> (CUInt -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_removeAllTechniques_c" cMtRemoveAllTechniques'_ :: ((HG3DClassPtr) -> (IO ())) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_getSupportedTechnique_c" cMtGetSupportedTechnique'_ :: ((HG3DClassPtr) -> (CUInt -> ((HG3DClassPtr) -> (IO ())))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_getNumSupportedTechniques_c" cMtGetNumSupportedTechniques'_ :: ((HG3DClassPtr) -> ((Ptr CUInt) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_getUnsupportedTechniquesExplanation_c" cMtGetUnsupportedTechniquesExplanation'_ :: ((HG3DClassPtr) -> ((Ptr CChar) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_getNumLodLevels_c" cMtGetNumLodLevels'_ :: ((HG3DClassPtr) -> (CUInt -> ((Ptr CUInt) -> (IO ())))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_getNumLodLevels2_c" cMtGetNumLodLevels2'_ :: ((HG3DClassPtr) -> ((Ptr CChar) -> ((Ptr CUInt) -> (IO ())))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_compile_c" cMtCompile'_ :: ((HG3DClassPtr) -> (CInt -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_setPointSize_c" cMtSetPointSize'_ :: ((HG3DClassPtr) -> (CFloat -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_setAmbient_c" cMtSetAmbient'_ :: ((HG3DClassPtr) -> (CFloat -> (CFloat -> (CFloat -> (IO ()))))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_setAmbient2_c" cMtSetAmbient2'_ :: ((HG3DClassPtr) -> ((ColourValuePtr) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_setDiffuse_c" cMtSetDiffuse'_ :: ((HG3DClassPtr) -> (CFloat -> (CFloat -> (CFloat -> (CFloat -> (IO ())))))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_setDiffuse2_c" cMtSetDiffuse2'_ :: ((HG3DClassPtr) -> ((ColourValuePtr) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_setSpecular_c" cMtSetSpecular'_ :: ((HG3DClassPtr) -> (CFloat -> (CFloat -> (CFloat -> (CFloat -> (IO ())))))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_setSpecular2_c" cMtSetSpecular2'_ :: ((HG3DClassPtr) -> ((ColourValuePtr) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_setShininess_c" cMtSetShininess'_ :: ((HG3DClassPtr) -> (CFloat -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_setSelfIllumination_c" cMtSetSelfIllumination'_ :: ((HG3DClassPtr) -> (CFloat -> (CFloat -> (CFloat -> (IO ()))))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_setSelfIllumination2_c" cMtSetSelfIllumination2'_ :: ((HG3DClassPtr) -> ((ColourValuePtr) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_setDepthCheckEnabled_c" cMtSetDepthCheckEnabled'_ :: ((HG3DClassPtr) -> (CInt -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_setDepthWriteEnabled_c" cMtSetDepthWriteEnabled'_ :: ((HG3DClassPtr) -> (CInt -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_setDepthFunction_c" cMtSetDepthFunction'_ :: ((HG3DClassPtr) -> (CInt -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_setColourWriteEnabled_c" cMtSetColourWriteEnabled'_ :: ((HG3DClassPtr) -> (CInt -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_setCullingMode_c" cMtSetCullingMode'_ :: ((HG3DClassPtr) -> (CInt -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_setManualCullingMode_c" cMtSetManualCullingMode'_ :: ((HG3DClassPtr) -> (CInt -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_setLightingEnabled_c" cMtSetLightingEnabled'_ :: ((HG3DClassPtr) -> (CInt -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_setShadingMode_c" cMtSetShadingMode'_ :: ((HG3DClassPtr) -> (CInt -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_setFog_c" cMtSetFog'_ :: ((HG3DClassPtr) -> (CInt -> (CInt -> ((ColourValuePtr) -> (CFloat -> (CFloat -> (CFloat -> (IO ())))))))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_setDepthBias_c" cMtSetDepthBias'_ :: ((HG3DClassPtr) -> (CFloat -> (CFloat -> (IO ())))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_setTextureFiltering_c" cMtSetTextureFiltering'_ :: ((HG3DClassPtr) -> (CInt -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_setTextureAnisotropy_c" cMtSetTextureAnisotropy'_ :: ((HG3DClassPtr) -> (CInt -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt__notifyNeedsRecompile_c" cMtNotifyNeedsRecompile'_ :: ((HG3DClassPtr) -> (IO ())) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_touch_c" cMtTouch'_ :: ((HG3DClassPtr) -> (IO ())) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_getCompilationRequired_c" cMtGetCompilationRequired'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))