Top: Contents

Fermat supports plugins written as separate dynamically loaded libraries (DLLs). Writing such a library requires linking to Fermat, and implementing a single exported function with the following signature:
extern "C" uint32 __declspec(dllexport) __stdcall register_plugin(RenderingContext& renderer)
This function is responsible for registering a new RendererInterface factory and returning the assigned id. In the next chapter we'll go through a step-by-step introduction to writing such a plugin.

Next: Hello Renderer!