summaryrefslogtreecommitdiff
path: root/src/renderer/renderpasses.h
blob: 951ff6e946ab357f32e7027f7aec0e7d0f0f5f25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/**
 * @file renderpasses.h
 * @author your name (you@domain.com)
 * @brief Built-in renderpasses to the engine
 * @version 0.1
 * @date 2024-04-28
 *
 * @copyright Copyright (c) 2024
 *
 */
#pragma once
#include "maths_types.h"
#include "ral.h"
#include "render.h"
#include "render_types.h"

// Shadowmap pass
// Blinn-phong pass
// Unlit pass
// Debug visualisations pass

// Don't need to pass in *anything*.
gpu_renderpass* renderpass_blinn_phong_create();
void renderpass_blinn_phong_execute(gpu_renderpass* pass, render_entity* entities,
                                    size_t entity_count);

gpu_renderpass* renderpass_shadows_create();
void renderpass_shadows_execute(gpu_renderpass* pass, render_entity* entities, size_t entity_count);