diff options
Diffstat (limited to 'include/render_pass.h')
-rw-r--r-- | include/render_pass.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/render_pass.h b/include/render_pass.h new file mode 100644 index 0000000..b01bcae --- /dev/null +++ b/include/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; +}; |