Safe Haskell | None |
---|
- delete :: HG3DClass -> IO ()
- getMaterial :: HG3DClass -> IO SharedPtr
- preRender :: HG3DClass -> HG3DClass -> HG3DClass -> IO Bool
- postRender :: HG3DClass -> HG3DClass -> HG3DClass -> IO ()
- getNumWorldTransforms :: HG3DClass -> IO Int
- setUseIdentityProjection :: HG3DClass -> Bool -> IO ()
- getUseIdentityProjection :: HG3DClass -> IO Bool
- setUseIdentityView :: HG3DClass -> Bool -> IO ()
- getUseIdentityView :: HG3DClass -> IO Bool
- getSquaredViewDepth :: HG3DClass -> HG3DClass -> IO Float
- getCastsShadows :: HG3DClass -> IO Bool
- removeCustomParameter :: HG3DClass -> Int -> IO ()
- hasCustomParameter :: HG3DClass -> Int -> IO Bool
- setPolygonModeOverrideable :: HG3DClass -> Bool -> IO ()
- getPolygonModeOverrideable :: HG3DClass -> IO Bool
- delete'_ :: HG3DClassPtr -> IO ()
- getMaterial'_ :: HG3DClassPtr -> SharedPtrPtr -> IO ()
- preRender'_ :: HG3DClassPtr -> HG3DClassPtr -> HG3DClassPtr -> Ptr CInt -> IO ()
- postRender'_ :: HG3DClassPtr -> HG3DClassPtr -> HG3DClassPtr -> IO ()
- getNumWorldTransforms'_ :: HG3DClassPtr -> Ptr CUShort -> IO ()
- setUseIdentityProjection'_ :: HG3DClassPtr -> CInt -> IO ()
- getUseIdentityProjection'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- setUseIdentityView'_ :: HG3DClassPtr -> CInt -> IO ()
- getUseIdentityView'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- getSquaredViewDepth'_ :: HG3DClassPtr -> HG3DClassPtr -> Ptr CFloat -> IO ()
- getCastsShadows'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- removeCustomParameter'_ :: HG3DClassPtr -> CInt -> IO ()
- hasCustomParameter'_ :: HG3DClassPtr -> CInt -> Ptr CInt -> IO ()
- setPolygonModeOverrideable'_ :: HG3DClassPtr -> CInt -> IO ()
- getPolygonModeOverrideable'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
Documentation
Virtual destructor needed as class has virtual methods.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> IO SharedPtr |
Called just prior to the Renderable being rendered. OGRE is a queued renderer, so the actual render commands are executed at a later time than the point at which an object is discovered to be visible. This allows ordering & grouping of renders without the discovery process having to be aware of it. It also means OGRE uses declarative render information rather than immediate mode rendering - this is very useful in that certain effects and processes can automatically be applied to a wide range of scenes, but the downside is that special cases are more difficult to handle, because there is not the declared state to cope with it. This method allows a RenderableRenderableRenderable
Retrieves a weak reference to the material this renderable object uses. Note that the Renderable
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> HG3DClass | sm |
-> HG3DClass | rsys |
-> IO Bool | return value - true if the automatic render should proceed, false to skip it on the assumption that the |
Called immediately after the Renderable
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> HG3DClass | sm |
-> HG3DClass | rsys |
-> IO () |
Returns the number of world transform matrices this renderable requires. When a renderable uses vertex blending, it uses multiple world matrices instead of a single one. Each vertex sent to the pipeline can reference one or more matrices in this list with given weights. If a renderable does not use vertex blending this method returns 1, which is the default for simplicity.
Sets whether or not to use an identity
projection.
Usually RenderableRenderable::getUseIdentityProjection
setUseIdentityProjectionSource
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Bool | useIdentityProjection |
-> IO () |
Returns whether or not to use an identity
projection.
Usually RenderableRenderable::setUseIdentityProjection
getUseIdentityProjectionSource
Sets whether or not to use an identity
view.
Usually RenderableRenderable::getUseIdentityView
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Bool | useIdentityView |
-> IO () |
Returns whether or not to use an identity
view.
Usually RenderableRenderable::setUseIdentityView
Returns the camera-relative squared depth of this renderable. Used to sort transparent objects. Squared depth is used rather than actual depth to avoid having to perform a square root on the result.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> HG3DClass | cam |
-> IO Float |
Method which reports whether this renderable would normally cast a shadow. Subclasses should override this if they could have been used to generate a shadow.
Removes a custom value which is associated with this Renderable at the given index.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Int | index |
-> IO () |
Checks whether a custom value is associated with this Renderable at the given index.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Int | index |
-> IO Bool |
Sets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setting.
setPolygonModeOverrideableSource
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Bool | override - true means that a lower camera detail will override this renderables detail level, false means it won't. |
-> IO () |
Gets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setting.
delete'_ :: HG3DClassPtr -> IO ()Source
getMaterial'_ :: HG3DClassPtr -> SharedPtrPtr -> IO ()Source
preRender'_ :: HG3DClassPtr -> HG3DClassPtr -> HG3DClassPtr -> Ptr CInt -> IO ()Source
postRender'_ :: HG3DClassPtr -> HG3DClassPtr -> HG3DClassPtr -> IO ()Source
getNumWorldTransforms'_ :: HG3DClassPtr -> Ptr CUShort -> IO ()Source
setUseIdentityProjection'_ :: HG3DClassPtr -> CInt -> IO ()Source
getUseIdentityProjection'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
setUseIdentityView'_ :: HG3DClassPtr -> CInt -> IO ()Source
getUseIdentityView'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
getSquaredViewDepth'_ :: HG3DClassPtr -> HG3DClassPtr -> Ptr CFloat -> IO ()Source
getCastsShadows'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
removeCustomParameter'_ :: HG3DClassPtr -> CInt -> IO ()Source
hasCustomParameter'_ :: HG3DClassPtr -> CInt -> Ptr CInt -> IO ()Source
setPolygonModeOverrideable'_ :: HG3DClassPtr -> CInt -> IO ()Source
getPolygonModeOverrideable'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source