Safe Haskell | Safe-Infered |
---|
- delete :: HG3DClass -> IO ()
- isTransparent :: HG3DClass -> IO Bool
- setReceiveShadows :: HG3DClass -> Bool -> IO ()
- getReceiveShadows :: HG3DClass -> IO Bool
- setTransparencyCastsShadows :: HG3DClass -> Bool -> IO ()
- getTransparencyCastsShadows :: HG3DClass -> IO Bool
- getNumTechniques :: HG3DClass -> IO Int
- removeTechnique :: HG3DClass -> Int -> IO ()
- removeAllTechniques :: HG3DClass -> IO ()
- getNumSupportedTechniques :: HG3DClass -> IO Int
- getUnsupportedTechniquesExplanation :: HG3DClass -> IO String
- getNumLodLevels :: HG3DClass -> Int -> IO Int
- getNumLodLevels2 :: HG3DClass -> String -> IO Int
- clone :: HG3DClass -> String -> Bool -> String -> IO SharedPtr
- copyDetailsTo :: HG3DClass -> IO SharedPtr
- compile :: HG3DClass -> Bool -> IO ()
- setPointSize :: HG3DClass -> Float -> IO ()
- setAmbient :: HG3DClass -> Float -> Float -> Float -> IO ()
- setAmbient2 :: HG3DClass -> Colour -> IO ()
- setDiffuse :: HG3DClass -> Float -> Float -> Float -> Float -> IO ()
- setDiffuse2 :: HG3DClass -> Colour -> IO ()
- setSpecular :: HG3DClass -> Float -> Float -> Float -> Float -> IO ()
- setSpecular2 :: HG3DClass -> Colour -> IO ()
- setShininess :: HG3DClass -> Float -> IO ()
- setSelfIllumination :: HG3DClass -> Float -> Float -> Float -> IO ()
- setSelfIllumination2 :: HG3DClass -> Colour -> IO ()
- setDepthCheckEnabled :: HG3DClass -> Bool -> IO ()
- setDepthWriteEnabled :: HG3DClass -> Bool -> IO ()
- setColourWriteEnabled :: HG3DClass -> Bool -> IO ()
- setLightingEnabled :: HG3DClass -> Bool -> IO ()
- setDepthBias :: HG3DClass -> Float -> Float -> IO ()
- setTextureAnisotropy :: HG3DClass -> Int -> IO ()
- touch :: HG3DClass -> IO ()
- getCompilationRequired :: HG3DClass -> IO Bool
- delete'_ :: HG3DClassPtr -> IO ()
- isTransparent'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- setReceiveShadows'_ :: HG3DClassPtr -> CInt -> IO ()
- getReceiveShadows'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- setTransparencyCastsShadows'_ :: HG3DClassPtr -> CInt -> IO ()
- getTransparencyCastsShadows'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- getNumTechniques'_ :: HG3DClassPtr -> Ptr CUShort -> IO ()
- removeTechnique'_ :: HG3DClassPtr -> CUShort -> IO ()
- removeAllTechniques'_ :: HG3DClassPtr -> IO ()
- getNumSupportedTechniques'_ :: HG3DClassPtr -> Ptr CUShort -> IO ()
- getUnsupportedTechniquesExplanation'_ :: HG3DClassPtr -> Ptr CChar -> IO ()
- getNumLodLevels'_ :: HG3DClassPtr -> CUShort -> Ptr CUShort -> IO ()
- getNumLodLevels2'_ :: HG3DClassPtr -> Ptr CChar -> Ptr CUShort -> IO ()
- clone'_ :: HG3DClassPtr -> Ptr CChar -> CInt -> Ptr CChar -> SharedPtrPtr -> IO ()
- copyDetailsTo'_ :: HG3DClassPtr -> SharedPtrPtr -> IO ()
- compile'_ :: HG3DClassPtr -> CInt -> IO ()
- setPointSize'_ :: HG3DClassPtr -> CFloat -> IO ()
- setAmbient'_ :: HG3DClassPtr -> CFloat -> CFloat -> CFloat -> IO ()
- setAmbient2'_ :: HG3DClassPtr -> ColourPtr -> IO ()
- setDiffuse'_ :: HG3DClassPtr -> CFloat -> CFloat -> CFloat -> CFloat -> IO ()
- setDiffuse2'_ :: HG3DClassPtr -> ColourPtr -> IO ()
- setSpecular'_ :: HG3DClassPtr -> CFloat -> CFloat -> CFloat -> CFloat -> IO ()
- setSpecular2'_ :: HG3DClassPtr -> ColourPtr -> IO ()
- setShininess'_ :: HG3DClassPtr -> CFloat -> IO ()
- setSelfIllumination'_ :: HG3DClassPtr -> CFloat -> CFloat -> CFloat -> IO ()
- setSelfIllumination2'_ :: HG3DClassPtr -> ColourPtr -> IO ()
- setDepthCheckEnabled'_ :: HG3DClassPtr -> CInt -> IO ()
- setDepthWriteEnabled'_ :: HG3DClassPtr -> CInt -> IO ()
- setColourWriteEnabled'_ :: HG3DClassPtr -> CInt -> IO ()
- setLightingEnabled'_ :: HG3DClassPtr -> CInt -> IO ()
- setDepthBias'_ :: HG3DClassPtr -> CFloat -> CFloat -> IO ()
- setTextureAnisotropy'_ :: HG3DClassPtr -> CInt -> IO ()
- touch'_ :: HG3DClassPtr -> IO ()
- getCompilationRequired'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
Documentation
Determines if the material has any transparency with the rest of the scene (derived from whether any Techniques say they involve transparency).
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Bool | enabled |
-> IO () |
Returns whether or not objects using this material will receive shadows.
Sets whether objects using this material will receive shadows. This method allows a material to opt out of receiving shadows, if it would otherwise do so. Shadows will not be cast on any objects unless the scene is set up to support shadows (SceneManager::setShadowTechniqueTransparent materials never receive shadows despite this setting. The default is to receive shadows.
setTransparencyCastsShadowsSource
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Bool | enabled |
-> IO () |
Returns whether or not objects using this material be classified as opaque to the shadow caster system.
Sets whether objects using this material be classified as opaque to the shadow caster system. This method allows a material to cast a shadow, even if it is transparent. By default, transparent materials neither cast nor receive shadows. Shadows will not be cast on any objects unless the scene is set up to support shadows (SceneManager::setShadowTechnique
Retrieves the number of techniques.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Int | index |
-> IO () |
Removes all the techniques in this Material
Removes the technique at the given index.
Retrieves the number of supported techniques.
getUnsupportedTechniquesExplanationSource
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> IO String |
Gets a string explaining why any techniques are not supported.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Int | schemeIndex |
-> IO Int |
Gets the number of levels-of-detail this material has in the given scheme, based on Technique::setLodIndex. Note that this will not be up to date until the material has been compiled.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> String | schemeName |
-> IO Int |
Gets the number of levels-of-detail this material has in the given scheme, based on Technique::setLodIndex. Note that this will not be up to date until the material has been compiled.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> String | newName - The name for the cloned material |
-> Bool | changeGroup - If true, the resource group of the clone is changed |
-> String | newGroup - Only required if changeGroup is true; the new group to assign |
-> IO SharedPtr |
Creates a new copy of this material with the same settings but a new name.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> IO SharedPtr | mat - Weak reference to material which will receive this material's settings. |
Copies the details of this material into another, preserving the target's handle and name (unlike operator=) but copying everything else.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Bool | autoManageTextureUnits - If true, when a fixed function pass has too many TextureUnitState entries than the card has texture units, the Pass in question will be split into more than one Pass in order to emulate the Pass. If you set this to false and this situation arises, an Exception will be thrown. |
-> IO () |
Sets the point size properties for every Pass in every Technique. This property has been moved to the Pass class, which is accessible via the Technique. For simplicity, this method allows you to set these properties for every current Technique, and for every current Pass within those Techniques. If you need more precision, retrieve the Technique and Pass instances and set the property there. Pass::setPointSize
Compiles
this MaterialCompiling a material involves determining which Techniques are supported on the card on which OGRE is currently running, and for fixed-function Passes within those Techniques, splitting the passes down where they contain more TextureUnitState instances than the current card has texture units. This process is automatically done when the Material
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Float | ps |
-> IO () |
Sets the ambient colour reflectance properties for every Pass in every Technique. This property has been moved to the Pass class, which is accessible via the Technique. For simplicity, this method allows you to set these properties for every current Technique, and for every current Pass within those Techniques. If you need more precision, retrieve the Technique and Pass instances and set the property there. Pass::setAmbient
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Float | red |
-> Float | green |
-> Float | blue |
-> IO () |
Sets the ambient colour reflectance properties for every Pass in every Technique. This property has been moved to the Pass class, which is accessible via the Technique. For simplicity, this method allows you to set these properties for every current Technique, and for every current Pass within those Techniques. If you need more precision, retrieve the Technique and Pass instances and set the property there. Pass::setAmbient
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Colour | ambient |
-> IO () |
Sets the diffuse colour reflectance properties of every Pass in every Technique. This property has been moved to the Pass class, which is accessible via the Technique. For simplicity, this method allows you to set these properties for every current Technique, and for every current Pass within those Techniques. If you need more precision, retrieve the Technique and Pass instances and set the property there. Pass::setDiffuse
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Float | red |
-> Float | green |
-> Float | blue |
-> Float | alpha |
-> IO () |
Sets the diffuse colour reflectance properties of every Pass in every Technique. This property has been moved to the Pass class, which is accessible via the Technique. For simplicity, this method allows you to set these properties for every current Technique, and for every current Pass within those Techniques. If you need more precision, retrieve the Technique and Pass instances and set the property there. Pass::setDiffuse
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Colour | diffuse |
-> IO () |
Sets the specular colour reflectance properties of every Pass in every Technique. This property has been moved to the Pass class, which is accessible via the Technique. For simplicity, this method allows you to set these properties for every current Technique, and for every current Pass within those Techniques. If you need more precision, retrieve the Technique and Pass instances and set the property there. Pass::setSpecular
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Float | red |
-> Float | green |
-> Float | blue |
-> Float | alpha |
-> IO () |
Sets the specular colour reflectance properties of every Pass in every Technique. This property has been moved to the Pass class, which is accessible via the Technique. For simplicity, this method allows you to set these properties for every current Technique, and for every current Pass within those Techniques. If you need more precision, retrieve the Technique and Pass instances and set the property there. Pass::setSpecular
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Colour | specular |
-> IO () |
Sets the shininess properties of every Pass in every Technique. This property has been moved to the Pass class, which is accessible via the Technique. For simplicity, this method allows you to set these properties for every current Technique, and for every current Pass within those Techniques. If you need more precision, retrieve the Technique and Pass instances and set the property there. Pass::setShininess
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Float | val |
-> IO () |
Sets the amount of self-illumination of every Pass in every Technique. This property has been moved to the Pass class, which is accessible via the Technique. For simplicity, this method allows you to set these properties for every current Technique, and for every current Pass within those Techniques. If you need more precision, retrieve the Technique and Pass instances and set the property there. Pass::setSelfIllumination
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Float | red |
-> Float | green |
-> Float | blue |
-> IO () |
Sets the amount of self-illumination of every Pass in every Technique. This property has been moved to the Pass class, which is accessible via the Technique. For simplicity, this method allows you to set these properties for every current Technique, and for every current Pass within those Techniques. If you need more precision, retrieve the Technique and Pass instances and set the property there. Pass::setSelfIllumination
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Colour | selfIllum |
-> IO () |
Sets whether or not each Pass renders with depth-buffer checking on or not. This property has been moved to the Pass class, which is accessible via the Technique. For simplicity, this method allows you to set these properties for every current Technique, and for every current Pass within those Techniques. If you need more precision, retrieve the Technique and Pass instances and set the property there. Pass::setDepthCheckEnabled
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Bool | enabled |
-> IO () |
Sets whether or not each Pass renders with depth-buffer writing on or not. This property has been moved to the Pass class, which is accessible via the Technique. For simplicity, this method allows you to set these properties for every current Technique, and for every current Pass within those Techniques. If you need more precision, retrieve the Technique and Pass instances and set the property there. Pass::setDepthWriteEnabled
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Bool | enabled |
-> IO () |
Sets whether or not colour buffer writing is enabled for each Pass. This property has been moved to the Pass class, which is accessible via the Technique. For simplicity, this method allows you to set these properties for every current Technique, and for every current Pass within those Techniques. If you need more precision, retrieve the Technique and Pass instances and set the property there. Pass::setColourWriteEnabled
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Bool | enabled |
-> IO () |
Sets whether or not dynamic lighting is enabled for every Pass. This property has been moved to the Pass class, which is accessible via the Technique. For simplicity, this method allows you to set these properties for every current Technique, and for every current Pass within those Techniques. If you need more precision, retrieve the Technique and Pass instances and set the property there. Pass::setLightingEnabled
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Bool | enabled |
-> IO () |
Sets the depth bias to be used for each Pass. This property has been moved to the Pass class, which is accessible via the Technique. For simplicity, this method allows you to set these properties for every current Technique, and for every current Pass within those Techniques. If you need more precision, retrieve the Technique and Pass instances and set the property there. Pass::setDepthBias
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Float | constantBias |
-> Float | slopeScaleBias |
-> IO () |
Sets the anisotropy level to be used for all textures. This property has been moved to the TextureUnitState class, which is accessible via the Technique and Pass. For simplicity, this method allows you to set these properties for every current TeextureUnitState, If you need more precision, retrieve the Technique, Pass and TextureUnitState instances and set the property there. TextureUnitState::setTextureAnisotropy
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Int | maxAniso |
-> IO () |
Touches
the resource to indicate it has been used.
Gets the compilation status of the material.
delete'_ :: HG3DClassPtr -> IO ()Source
isTransparent'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
setReceiveShadows'_ :: HG3DClassPtr -> CInt -> IO ()Source
getReceiveShadows'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
getNumTechniques'_ :: HG3DClassPtr -> Ptr CUShort -> IO ()Source
removeTechnique'_ :: HG3DClassPtr -> CUShort -> IO ()Source
getNumLodLevels'_ :: HG3DClassPtr -> CUShort -> Ptr CUShort -> IO ()Source
getNumLodLevels2'_ :: HG3DClassPtr -> Ptr CChar -> Ptr CUShort -> IO ()Source
copyDetailsTo'_ :: HG3DClassPtr -> SharedPtrPtr -> IO ()Source
setPointSize'_ :: HG3DClassPtr -> CFloat -> IO ()Source
setAmbient'_ :: HG3DClassPtr -> CFloat -> CFloat -> CFloat -> IO ()Source
setAmbient2'_ :: HG3DClassPtr -> ColourPtr -> IO ()Source
setDiffuse'_ :: HG3DClassPtr -> CFloat -> CFloat -> CFloat -> CFloat -> IO ()Source
setDiffuse2'_ :: HG3DClassPtr -> ColourPtr -> IO ()Source
setSpecular'_ :: HG3DClassPtr -> CFloat -> CFloat -> CFloat -> CFloat -> IO ()Source
setSpecular2'_ :: HG3DClassPtr -> ColourPtr -> IO ()Source
setShininess'_ :: HG3DClassPtr -> CFloat -> IO ()Source
setSelfIllumination'_ :: HG3DClassPtr -> CFloat -> CFloat -> CFloat -> IO ()Source
setDepthCheckEnabled'_ :: HG3DClassPtr -> CInt -> IO ()Source
setDepthWriteEnabled'_ :: HG3DClassPtr -> CInt -> IO ()Source
setColourWriteEnabled'_ :: HG3DClassPtr -> CInt -> IO ()Source
setLightingEnabled'_ :: HG3DClassPtr -> CInt -> IO ()Source
setDepthBias'_ :: HG3DClassPtr -> CFloat -> CFloat -> IO ()Source
setTextureAnisotropy'_ :: HG3DClassPtr -> CInt -> IO ()Source
touch'_ :: HG3DClassPtr -> IO ()Source
getCompilationRequired'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source