Kohi Game Engine
vulkan_renderer_plugin_main.h File Reference

Hosts creation and destruction methods for the renderer backend. More...

Go to the source code of this file.

Functions

KAPI b8 kplugin_create (kruntime_plugin *out_plugin)
 Creates a new runtime plugin of the renderer type. More...
 
KAPI void kplugin_destroy (kruntime_plugin *plugin)
 Destroys the given plugin. More...
 

Detailed Description

Hosts creation and destruction methods for the renderer backend.

Author
Travis Vroman (travi.nosp@m.s@ko.nosp@m.hieng.nosp@m.ine..nosp@m.com)
Version
1.0
Date
2022-01-11

Function Documentation

◆ kplugin_create()

KAPI b8 kplugin_create ( kruntime_plugin out_plugin)

Creates a new runtime plugin of the renderer type.

Parameters
out_pluginA pointer to hold the newly-created renderer plugin.
Returns
True if successful; otherwise false.

◆ kplugin_destroy()

KAPI void kplugin_destroy ( kruntime_plugin plugin)

Destroys the given plugin.

Parameters
pluginA pointer to the runtime plugin to be destroyed.