Safe Haskell | Safe-Infered |
---|
- new :: IO HG3DClass
- delete :: HG3DClass -> IO ()
- setPrepareAllMeshesForShadowVolumes :: HG3DClass -> Bool -> IO ()
- getPrepareAllMeshesForShadowVolumes :: HG3DClass -> IO Bool
- getBoundsPaddingFactor :: HG3DClass -> IO Float
- setBoundsPaddingFactor :: HG3DClass -> Float -> IO ()
- loadResource :: HG3DClass -> HG3DClass -> IO ()
- getSingletonPtr :: IO HG3DClass
- new'_ :: HG3DClassPtr -> IO ()
- delete'_ :: HG3DClassPtr -> IO ()
- setPrepareAllMeshesForShadowVolumes'_ :: HG3DClassPtr -> CInt -> IO ()
- getPrepareAllMeshesForShadowVolumes'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- getBoundsPaddingFactor'_ :: HG3DClassPtr -> Ptr CFloat -> IO ()
- setBoundsPaddingFactor'_ :: HG3DClassPtr -> CFloat -> IO ()
- loadResource'_ :: HG3DClassPtr -> HG3DClassPtr -> IO ()
- getSingletonPtr'_ :: HG3DClassPtr -> IO ()
Documentation
Tells the mesh manager that all future meshes should prepare themselves for shadow volumes on loading.
setPrepareAllMeshesForShadowVolumesSource
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Bool | enable |
-> IO () |
Retrieves whether all Meshes should prepare themselves for shadow volumes.
Gets the factor by which the bounding box of an entity is padded. Default is 0.01
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Float | paddingFactor |
-> IO () |
ManualResourceLoader::loadResource
Sets the factor by which the bounding box of an entity is padded
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> HG3DClass | res |
-> IO () |
Override standard Singleton retrieval. Why do we do this? Well, it's because the Singleton implementation is in a .h file, which means it gets compiled into anybody who includes it. This is needed for the Singleton template to work, but we actually only want it compiled into the implementation of the class based on the Singleton, not all of them. If we don't change this, we get link errors when trying to use the Singleton-based class from an outside dll. This method just delegates to the template version anyway, but the implementation stays in this single compilation unit, preventing link errors.
new'_ :: HG3DClassPtr -> IO ()Source
delete'_ :: HG3DClassPtr -> IO ()Source
getBoundsPaddingFactor'_ :: HG3DClassPtr -> Ptr CFloat -> IO ()Source
setBoundsPaddingFactor'_ :: HG3DClassPtr -> CFloat -> IO ()Source
loadResource'_ :: HG3DClassPtr -> HG3DClassPtr -> IO ()Source