diff options
author | 3gg <3gg@shellblade.net> | 2025-07-04 10:27:06 -0700 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2025-07-04 10:27:06 -0700 |
commit | 1ec46bead3cf87971a2329f9ef4ddde5a0c48325 (patch) | |
tree | 3f4c404467c3ad9c94265295f4aa1b97a10a9eb3 /src/scene/light_impl.h | |
parent | e386405ac636b7e4a41d5c03eb363e9c120ce919 (diff) |
Clarify doc
Diffstat (limited to 'src/scene/light_impl.h')
-rw-r--r-- | src/scene/light_impl.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/scene/light_impl.h b/src/scene/light_impl.h deleted file mode 100644 index 1aa0bb4..0000000 --- a/src/scene/light_impl.h +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #include <gfx/scene/light.h> | ||
4 | |||
5 | #include "types.h" | ||
6 | |||
7 | typedef struct Texture Texture; | ||
8 | |||
9 | /// An environment light. | ||
10 | typedef struct EnvironmentLight { | ||
11 | const Texture* environment_map; | ||
12 | const Texture* irradiance_map; // Renderer implementation. | ||
13 | const Texture* prefiltered_environment_map; // Renderer implementation. | ||
14 | int max_reflection_lod; // Mandatory when prefiltered_environment_map is | ||
15 | // given. | ||
16 | } EnvironmentLight; | ||
17 | |||
18 | /// A scene light. | ||
19 | typedef struct Light { | ||
20 | LightType type; | ||
21 | union { | ||
22 | EnvironmentLight environment; | ||
23 | }; | ||
24 | node_idx parent; // Parent SceneNode. | ||
25 | } Light; | ||