Safe Haskell | None |
---|
- new :: HG3DClass -> String -> EnumRenderOperationOperationType -> String -> IO HG3DClass
- delete :: HG3DClass -> IO ()
- getMaterialName :: HG3DClass -> IO String
- getMaterialGroup :: HG3DClass -> IO String
- setMaterialName :: HG3DClass -> String -> String -> IO ()
- set32BitIndices :: HG3DClass -> Bool -> IO ()
- get32BitIndices :: HG3DClass -> IO Bool
- getMaterial :: HG3DClass -> IO SharedPtr
- getSquaredViewDepth :: HG3DClass -> HG3DClass -> IO Float
- new'_ :: HG3DClassPtr -> Ptr CChar -> CInt -> Ptr CChar -> HG3DClassPtr -> IO ()
- delete'_ :: HG3DClassPtr -> IO ()
- getMaterialName'_ :: HG3DClassPtr -> Ptr CChar -> IO ()
- getMaterialGroup'_ :: HG3DClassPtr -> Ptr CChar -> IO ()
- setMaterialName'_ :: HG3DClassPtr -> Ptr CChar -> Ptr CChar -> IO ()
- set32BitIndices'_ :: HG3DClassPtr -> CInt -> IO ()
- get32BitIndices'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- getMaterial'_ :: HG3DClassPtr -> SharedPtrPtr -> IO ()
- getSquaredViewDepth'_ :: HG3DClassPtr -> HG3DClassPtr -> Ptr CFloat -> IO ()
Documentation
Retrieve the material name in use.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> IO String |
Retrieve the material group in use.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> String | name |
-> String | groupName |
-> IO () |
Set whether we need 32-bit indices.
update the material name in use
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Bool | n32 |
-> IO () |
Get whether we need 32-bit indices.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> IO SharedPtr |
. - Details: 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.
. - Details: Retrieves a weak reference to the material this renderable object uses. Note that the Renderable
new'_ :: HG3DClassPtr -> Ptr CChar -> CInt -> Ptr CChar -> HG3DClassPtr -> IO ()Source
delete'_ :: HG3DClassPtr -> IO ()Source
getMaterialName'_ :: HG3DClassPtr -> Ptr CChar -> IO ()Source
getMaterialGroup'_ :: HG3DClassPtr -> Ptr CChar -> IO ()Source
setMaterialName'_ :: HG3DClassPtr -> Ptr CChar -> Ptr CChar -> IO ()Source
set32BitIndices'_ :: HG3DClassPtr -> CInt -> IO ()Source
get32BitIndices'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
getMaterial'_ :: HG3DClassPtr -> SharedPtrPtr -> IO ()Source
getSquaredViewDepth'_ :: HG3DClassPtr -> HG3DClassPtr -> Ptr CFloat -> IO ()Source