Mount Fuji Engine  0.8b
Data Fields
MFMaterialCallbacks Struct Reference

Material type registration callbacks. More...

Data Fields

int(* pRegisterMaterial )(MFMaterialType *pType)
 Pointer to the RegisterMaterial function. More...
 
void(* pUnregisterMaterial )()
 Pointer to the UnregisterMaterial function. More...
 
void(* pCreateInstance )(MFMaterial *pMaterial)
 Pointer to the CreateInstance function. More...
 
void(* pDestroyInstance )(MFMaterial *pMaterial)
 Pointer to the DestroyInstance function. More...
 
void(* pUpdate )(MFMaterial *pMaterial)
 Pointer to the Update function. More...
 
void(* pBuildStateBlock )(MFMaterial *pMaterial)
 Pointer to the BuildStateBlock function. More...
 
int(* pBegin )(MFMaterial *pMaterial, MFRendererState &state)
 Pointer to the Begin function. More...
 
int(* pGetNumParams )()
 Pointer to the GetNumParams function. More...
 
MFMaterialParameterInfo *(* pGetParameterInfo )(int parameterIndex)
 Pointer to the GetParameterInfo function. More...
 
void(* pSetParameter )(MFMaterial *pMaterial, int parameterIndex, int argIndex, uintp value)
 Pointer to a SetParameter function. More...
 
uintp(* pGetParameter )(MFMaterial *pMaterial, int parameterIndex, int argIndex, void *pValue)
 Pointer to the GetParameter function. More...
 

Detailed Description

These are a set of callbacks that are defined to register a custom material.


The documentation for this struct was generated from the following file: