summaryrefslogtreecommitdiff
path: root/src/new_render/render_scene.h
blob: 31dc1c939d01640cbb4ebf00586fca948fc5610a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/**
 * @file render_scene.h
 * @brief
 */
#pragma once
#include "camera.h"
#include "defines.h"
#include "render_types.h"

/** @brief Holds globally bound data for rendering a scene. Typically held by the renderer.
 *         Whenever you call draw functions you can think of this as an implicit parameter. */
typedef struct RenderScene {
  Camera camera;
  DirectionalLight sun;
} RenderScene;

// --- Public APIs

PUB void SetCamera(Camera camera);
PUB void SetMainLight(DirectionalLight light);