-- 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-4\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.Colour import HGamer3D.Data.Angle import HGamer3D.Bindings.Ogre.TypeHG3DClass {-# LINE 52 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} import HGamer3D.Bindings.Ogre.ClassPtr {-# LINE 53 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} import HGamer3D.Bindings.Ogre.Utils {-# LINE 54 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} import HGamer3D.Bindings.Ogre.TypeSharedPtr {-# LINE 55 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} import HGamer3D.Bindings.Ogre.TypeColour {-# LINE 56 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} import HGamer3D.Bindings.Ogre.EnumCompareFunction {-# LINE 57 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} import HGamer3D.Bindings.Ogre.EnumCullingMode {-# LINE 58 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} import HGamer3D.Bindings.Ogre.EnumManualCullingMode {-# LINE 59 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} import HGamer3D.Bindings.Ogre.EnumShadeOptions {-# LINE 60 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} import HGamer3D.Bindings.Ogre.EnumFogMode {-# LINE 61 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} import HGamer3D.Bindings.Ogre.EnumTextureFilterOptions {-# LINE 62 "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 68 "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 72 "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 76 "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 80 "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 84 "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 88 "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 93 "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 98 "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 102 "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 106 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtRemoveAllTechniques :: HG3DClass -> IO () cMtRemoveAllTechniques a1 = withHG3DClass a1 $ \a1' -> cMtRemoveAllTechniques'_ a1' >>= \res -> return () {-# LINE 109 "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 114 "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 118 "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 122 "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 127 "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 132 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtClone :: HG3DClass -> String -> Bool -> String -> IO (SharedPtr) cMtClone a1 a2 a3 a4 = withHG3DClass a1 $ \a1' -> withCString a2 $ \a2' -> let {a3' = fromBool a3} in withCString a4 $ \a4' -> alloca $ \a5' -> cMtClone'_ a1' a2' a3' a4' a5' >>= \res -> peek a5'>>= \a5'' -> return (a5'') {-# LINE 139 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtCopyDetailsTo :: HG3DClass -> IO (SharedPtr) cMtCopyDetailsTo a1 = withHG3DClass a1 $ \a1' -> alloca $ \a2' -> cMtCopyDetailsTo'_ a1' a2' >>= \res -> peek a2'>>= \a2'' -> return (a2'') {-# LINE 143 "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 147 "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 151 "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 157 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtSetAmbient2 :: HG3DClass -> Colour -> IO () cMtSetAmbient2 a1 a2 = withHG3DClass a1 $ \a1' -> withColour a2 $ \a2' -> cMtSetAmbient2'_ a1' a2' >>= \res -> return () {-# LINE 161 "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 168 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtSetDiffuse2 :: HG3DClass -> Colour -> IO () cMtSetDiffuse2 a1 a2 = withHG3DClass a1 $ \a1' -> withColour a2 $ \a2' -> cMtSetDiffuse2'_ a1' a2' >>= \res -> return () {-# LINE 172 "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 179 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtSetSpecular2 :: HG3DClass -> Colour -> IO () cMtSetSpecular2 a1 a2 = withHG3DClass a1 $ \a1' -> withColour a2 $ \a2' -> cMtSetSpecular2'_ a1' a2' >>= \res -> return () {-# LINE 183 "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 187 "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 193 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtSetSelfIllumination2 :: HG3DClass -> Colour -> IO () cMtSetSelfIllumination2 a1 a2 = withHG3DClass a1 $ \a1' -> withColour a2 $ \a2' -> cMtSetSelfIllumination2'_ a1' a2' >>= \res -> return () {-# LINE 197 "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 201 "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 205 "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 209 "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 213 "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 217 "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 221 "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 225 "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 229 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtSetFog :: HG3DClass -> Bool -> EnumFogMode -> Colour -> 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 withColour 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 238 "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 243 "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 247 "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 251 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtNotifyNeedsRecompile :: HG3DClass -> IO () cMtNotifyNeedsRecompile a1 = withHG3DClass a1 $ \a1' -> cMtNotifyNeedsRecompile'_ a1' >>= \res -> return () {-# LINE 254 "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs" #-} ; cMtTouch :: HG3DClass -> IO () cMtTouch a1 = withHG3DClass a1 $ \a1' -> cMtTouch'_ a1' >>= \res -> return () {-# LINE 257 "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 261 "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) -> (CUShort -> ((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 CUShort) -> (IO ()))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_removeTechnique_c" cMtRemoveTechnique'_ :: ((HG3DClassPtr) -> (CUShort -> (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) -> (CUShort -> ((HG3DClassPtr) -> (IO ())))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_getNumSupportedTechniques_c" cMtGetNumSupportedTechniques'_ :: ((HG3DClassPtr) -> ((Ptr CUShort) -> (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) -> (CUShort -> ((Ptr CUShort) -> (IO ())))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_getNumLodLevels2_c" cMtGetNumLodLevels2'_ :: ((HG3DClassPtr) -> ((Ptr CChar) -> ((Ptr CUShort) -> (IO ())))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_clone_c" cMtClone'_ :: ((HG3DClassPtr) -> ((Ptr CChar) -> (CInt -> ((Ptr CChar) -> ((SharedPtrPtr) -> (IO ())))))) foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassMaterial.chs.h cMt_copyDetailsTo_c" cMtCopyDetailsTo'_ :: ((HG3DClassPtr) -> ((SharedPtrPtr) -> (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) -> ((ColourPtr) -> (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) -> ((ColourPtr) -> (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) -> ((ColourPtr) -> (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) -> ((ColourPtr) -> (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 -> ((ColourPtr) -> (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 ())))