diff options
| author | 3gg <3gg@shellblade.net> | 2025-10-24 15:40:40 -0700 |
|---|---|---|
| committer | 3gg <3gg@shellblade.net> | 2025-10-24 15:40:40 -0700 |
| commit | 175c72557b21f356e295a6f8a4acd91b7e744bef (patch) | |
| tree | 3d2a77481bc112e58a7618ef3b8de20a9e415811 /src/llr/light_impl.h | |
| parent | c2cbe2ef1cb0237efd14fbe87469ee991ad3daa1 (diff) | |
Consolidate LLR into a single file.
Diffstat (limited to 'src/llr/light_impl.h')
| -rw-r--r-- | src/llr/light_impl.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/llr/light_impl.h b/src/llr/light_impl.h deleted file mode 100644 index 5ec8145..0000000 --- a/src/llr/light_impl.h +++ /dev/null | |||
| @@ -1,25 +0,0 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include <gfx/llr/light.h> | ||
| 4 | |||
| 5 | #include "scene/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; | ||
