Mount Fuji Engine  0.8b
MF_API int MFResource_Register ( const char *  pResourceName,
DestroyResourceFunction pDestroyFunc 
)

Registers a new resource type.

Parameters
pResourceNameThe resources type name.
pDestroyFuncA destroy function, called when the resource ref-count reaches zero.
Returns
An id for the registered resource.