summaryrefslogtreecommitdiff
path: root/src/renderer/renderpasses.h
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-05-07 12:23:13 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-05-07 12:23:13 +1000
commitce318e41868ceea632ee90442fbddf4128d22817 (patch)
tree5f9e50df0ca2693c3405f85126012997946b2fad /src/renderer/renderpasses.h
parent945f84d0a1201b60dc470331d38ff6c1853a1149 (diff)
expand the concept of a render_entity
Diffstat (limited to 'src/renderer/renderpasses.h')
-rw-r--r--src/renderer/renderpasses.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/renderer/renderpasses.h b/src/renderer/renderpasses.h
index 91970d8..951ff6e 100644
--- a/src/renderer/renderpasses.h
+++ b/src/renderer/renderpasses.h
@@ -12,17 +12,13 @@
#include "maths_types.h"
#include "ral.h"
#include "render.h"
+#include "render_types.h"
// Shadowmap pass
// Blinn-phong pass
// Unlit pass
// Debug visualisations pass
-typedef struct render_entity {
- model* model;
- transform tf;
-} render_entity;
-
// Don't need to pass in *anything*.
gpu_renderpass* renderpass_blinn_phong_create();
void renderpass_blinn_phong_execute(gpu_renderpass* pass, render_entity* entities,