Internal information structure for storing information on lights.
More...
#include <kanzi/core.ui/graphics3d/gather_lights_render_pass.hpp>
Internal information structure for storing information on lights.
kanzi::GatherLightsRenderPass::LightInfo::LightInfo |
( |
Light & |
light | ) |
|
|
inlineexplicit |
kanzi::GatherLightsRenderPass::LightInfo::LightInfo |
( |
Light & |
light, |
|
|
const Matrix4x4 & |
transformModifier |
|
) |
| |
|
inlineexplicit |
Constructor.
- Parameters
-
light | Gathered light. |
transformModifier | Modifier for final transformation. |
kanzi::GatherLightsRenderPass::LightInfo::LightInfo |
( |
const LightInfo & |
other | ) |
|
|
inline |
Copy constructor.
- Parameters
-
kanzi::GatherLightsRenderPass::LightInfo::LightInfo |
( |
LightInfo && |
other | ) |
|
|
inline |
Move constructor.
- Parameters
-
Light* kanzi::GatherLightsRenderPass::LightInfo::getLight |
( |
| ) |
const |
|
inline |
Gets the referred light.
- Returns
- Pointer to light.
Extracts render value from this light info.
If property type is set, value name should be equal to property type name.
- Parameters
-
value | Value to write to. |
propertyType | Property type to extract. |
- Returns
- If the render value was read successfully, true, otherwise false.
Matrix4x4 kanzi::GatherLightsRenderPass::LightInfo::getFinalTransformation |
( |
| ) |
const |
|
inline |
Gets the (potentially modified) final transformation from the light.
- Returns
- Final transformation.
Copy operator.
- Parameters
-
Move operator.
- Parameters
-
The documentation for this class was generated from the following file: