module
LightsCommon interface for the lighting part of rendering plugins.
Files
- file directional.hpp
- Component cubos::
engine:: DirectionalLight. - file environment.hpp
- Resource cubos::
engine:: RenderEnvironment. - file plugin.hpp
- Plugin entry point.
- file point.hpp
- Component cubos::
engine:: PointLight. - file spot.hpp
- Component cubos::
engine:: SpotLight.
Classes
- struct cubos::engine::DirectionalLight
- Component which makes an entity behave like a directional light.
- struct cubos::engine::RenderEnvironment
- Resource which stores the scene's ambient light and sky colors.
- struct cubos::engine::PointLight
- Component which makes an entity behave like a point light.
- struct cubos::engine::SpotLight
- Component which makes an entity emit a spot light in the direction of its local forward vector.
Functions
-
auto lightsPlugin(Cubos& cubos) -> CUBOS_
ENGINE_ API void - Plugin entry function.
Function documentation
CUBOS_ ENGINE_ API void lightsPlugin(Cubos& cubos)
#include <engine/render/lights/plugin.hpp>
Plugin entry function.
Parameters | |
---|---|
cubos | Cubos main class. |