Safe Haskell | None |
---|
- new :: IO HG3DClass
- delete :: HG3DClass -> IO ()
- initialise :: HG3DClass -> IO ()
- setDefaultAnisotropy :: HG3DClass -> Int -> IO ()
- getDefaultAnisotropy :: HG3DClass -> IO Int
- getActiveScheme :: HG3DClass -> IO String
- setActiveScheme :: HG3DClass -> String -> IO ()
- getSingleton :: IO HG3DClass
- getSingletonPtr :: IO HG3DClass
- new'_ :: HG3DClassPtr -> IO ()
- delete'_ :: HG3DClassPtr -> IO ()
- initialise'_ :: HG3DClassPtr -> IO ()
- setDefaultAnisotropy'_ :: HG3DClassPtr -> CUInt -> IO ()
- getDefaultAnisotropy'_ :: HG3DClassPtr -> Ptr CUInt -> IO ()
- getDefaultSettings :: HG3DClass -> IO SharedPtr
- getDefaultSettings'_ :: HG3DClassPtr -> SharedPtrPtr -> IO ()
- getActiveScheme'_ :: HG3DClassPtr -> Ptr CChar -> IO ()
- setActiveScheme'_ :: HG3DClassPtr -> Ptr CChar -> IO ()
- getSingleton'_ :: HG3DClassPtr -> IO ()
- getSingletonPtr'_ :: HG3DClassPtr -> IO ()
Documentation
Initialises the material manager, which also triggers it to parse all available .program and .material scripts.
Default destructor.
Sets the default anisotropy level to be used for loaded textures, for when textures are loaded automatically (e.g. by MaterialThe default value is 1 (no anisotropy).
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Int | maxAniso |
-> IO () |
Get the default maxAnisotropy.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> IO String |
Sets the name of the active material scheme. Technique::setSchemeName
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> String | schemeName |
-> 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.
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
initialise'_ :: HG3DClassPtr -> IO ()Source
setDefaultAnisotropy'_ :: HG3DClassPtr -> CUInt -> IO ()Source
getDefaultAnisotropy'_ :: HG3DClassPtr -> Ptr CUInt -> IO ()Source
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> IO SharedPtr |
Returns a pointer to the default MaterialOgreMaterialThe default settings begin as a single Technique with a single, non-programmable Pass:
Returns the name of the active material scheme. Technique::setSchemeName
getDefaultSettings'_ :: HG3DClassPtr -> SharedPtrPtr -> IO ()Source
getActiveScheme'_ :: HG3DClassPtr -> Ptr CChar -> IO ()Source
setActiveScheme'_ :: HG3DClassPtr -> Ptr CChar -> IO ()Source
getSingleton'_ :: HG3DClassPtr -> IO ()Source
getSingletonPtr'_ :: HG3DClassPtr -> IO ()Source