carb::assets::DestroyContextFn¶
Defined in carb/assets/AssetsTypes.h
-
using
carb::assets
::
DestroyContextFn
= void (*)(LoadContext *context)¶ Loader function (member of LoaderDesc) that destroys the data created by CreateContextFn.
This function is optional, but always called if present, even if
context
isnullptr
.- Parameters
context – The context to destroy, previously created by CreateContextFn.