basic rendering for both opengl and vulkan

This commit is contained in:
Lorenzo Torres 2026-01-07 02:43:00 +01:00
parent 4b18afa040
commit dadd2edaf1
29 changed files with 1140 additions and 38 deletions

View file

@ -2,11 +2,11 @@
#ifndef RENDERER_H
#define RENDERER_H
#include "../types.h"
#ifdef BACKEND_VK
#define RGFW_VULKAN
#include "../core/types.h"
#ifndef RGFW_H
typedef struct RGFW_window RGFW_window;
#endif
#include "../rgfw.h"
/*
* A mesh is a drawable object represented as an index (offset) in the global