Kohi Game Engine
|
This file contains resource loader utility functions. More...
Go to the source code of this file.
Functions | |
KAPI b8 | resource_unload (struct resource_loader *self, resource *resource, memory_tag tag) |
Unloads a resource using the appropriate registered loader. More... | |
This file contains resource loader utility functions.
KAPI b8 resource_unload | ( | struct resource_loader * | self, |
resource * | resource, | ||
memory_tag | tag | ||
) |
Unloads a resource using the appropriate registered loader.
self | A pointer to the resource loader to be used. |
resource | A pointer to the resource to be unloaded. |
tag | The memory tag that was used by the resource loader, and should be used to unload the resource. |