diff options
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; | ||
