Kohi Game Engine
|
Hosts creation and destruction methods for the renderer backend. More...
#include <renderer/renderer_types.h>
Go to the source code of this file.
Functions | |
KAPI b8 | plugin_create (renderer_plugin *out_plugin) |
Creates a new renderer plugin of the given type. More... | |
KAPI void | plugin_destroy (renderer_plugin *plugin) |
Destroys the given renderer backend. More... | |
Hosts creation and destruction methods for the renderer backend.
KAPI b8 plugin_create | ( | renderer_plugin * | out_plugin | ) |
Creates a new renderer plugin of the given type.
out_renderer_backend | A pointer to hold the newly-created renderer plugin. |
KAPI void plugin_destroy | ( | renderer_plugin * | plugin | ) |
Destroys the given renderer backend.
renderer_backend | A pointer to the plugin to be destroyed. |