blob: 791e862b9697e67349abf3968559d0a6cbd629b6 (
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;
DirectionalLight sun;
} RenderScene;
// --- Public APIs
PUB void SetCamera(Camera camera);
PUB void SetPointLight(PointLight light);
|