// Copyright (c) 2021 Dominic Masters // // This software is released under the MIT License. // https://opensource.org/licenses/MIT #pragma once #include #include "framebuffer.h" /** * Initialize the renderer. */ void renderInit(); /** * Render a single frame of the render loop. The renderer is not (currently) * responsible for render looping. */ void renderFrameStart(); /** * Cleanup a render context. */ void renderDispose(); /** * Sets the internal display resolution. * * @param width Width of the display (in pixels). * @param height Height of the display (in pixels). */ void renderSetResolution(int32_t width, int32_t height);