summaryrefslogtreecommitdiff
path: root/src/render_pass.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render_pass.h')
-rw-r--r--src/render_pass.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/render_pass.h b/src/render_pass.h
new file mode 100644
index 0000000..b01bcae
--- /dev/null
+++ b/src/render_pass.h
@@ -0,0 +1,23 @@
+#pragma once
+
+enum struct RenderPassType {
+ RayTracing,
+ Compute,
+ Rasterization // Not intended to implement, want to make a pure ray tracer
+};
+
+struct RayTracingPass {
+
+};
+
+struct ComputePass {
+
+};
+
+struct RenderPass {
+ RenderPassType type;
+ union {
+ RayTracingPass ray_tracing;
+ ComputePass compute;
+ } inner;
+};