basic rendering for both opengl and vulkan
This commit is contained in:
parent
4b18afa040
commit
dadd2edaf1
29 changed files with 1140 additions and 38 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue