blob: c4e0dd6fcb5c573e28b4db6d4908ce8993e492a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#pragma once
#include "render_types.h"
// --- Lifecycle
/** @brief initialise the render system frontend */
bool renderer_init(renderer* ren);
/** @brief shutdown the render system frontend */
void renderer_shutdown(renderer* ren);
// --- Frame
void render_frame_begin(renderer* ren);
void render_frame_end(renderer* ren);
// ---
texture texture_data_load(const char* path, bool invert_y); // #frontend
void texture_data_upload(texture* tex); // #backend
|