Internal information structure for storing information on lights. More...
#include <kanzi/core.ui/graphics3d/gather_lights_render_pass.hpp>
Public Member Functions | |
| bool | extractLightRenderValue (Variant &value, AbstractPropertyType propertyType, string_view valueName) const |
| Extracts render value from this light info. More... | |
| Matrix4x4 | getFinalTransformation () const |
| Gets the (potentially modified) final transformation from the light. More... | |
| Light * | getLight () const |
| Gets the referred light. More... | |
| LightInfo (Light &light) | |
| Constructor. More... | |
| LightInfo (Light &light, const Matrix4x4 &transformModifier) | |
| Constructor. More... | |
| LightInfo (LightInfo &&other) | |
| Move constructor. More... | |
Internal information structure for storing information on lights.
Copying is intentionally prevented to make accessing the light information safer.
|
inlineexplicit |
Constructor.
| light | Gathered light. |
|
inlineexplicit |
Constructor.
| light | Gathered light. |
| transformModifier | Modifier for final transformation. |
|
inline |
Move constructor.
| other | Source object. |
|
inline |
Gets the referred light.
| bool kanzi::GatherLightsRenderPass::LightInfo::extractLightRenderValue | ( | Variant & | value, |
| AbstractPropertyType | propertyType, | ||
| string_view | valueName | ||
| ) | const |
Extracts render value from this light info.
If property type is set, value name should be equal to property type name.
| value | Value to write to. |
| propertyType | Property type to extract. |
| valueName | Render value name to extract. |
|
inline |
Gets the (potentially modified) final transformation from the light.