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 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...
 

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

◆ plugin_create()

KAPI b8 plugin_create ( renderer_plugin out_plugin)

Creates a new renderer plugin of the given type.

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

◆ plugin_destroy()

KAPI void plugin_destroy ( renderer_plugin plugin)

Destroys the given renderer backend.

Parameters
renderer_backendA pointer to the plugin to be destroyed.