summaryrefslogtreecommitdiff
path: root/src/new_render/render_scene.h
blob: 7591d8f19d42b07bd9fb4a938722ac94a7585a6a (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 "defines.h"
#include "render_types.h"
#include "camera.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;
    PointLight light;
} RenderScene;

// --- Public APIs

PUB void SetCamera(Camera camera);
PUB void SetPointLight(PointLight light);