|
VisuTwin Canvas
C++ 3D Engine — Metal Backend
|
Per-light GPU data uploaded to the lighting uniform buffer. More...
#include <platform/graphics/graphicsDevice.h>
Public Attributes | |
| float | areaHalfHeight = 0.0f |
| float | areaHalfWidth = 0.0f |
| Vector3 | areaRight = Vector3(1.0f, 0.0f, 0.0f) |
| bool | castShadows = false |
| Color | color = Color(1.0f, 1.0f, 1.0f, 1.0f) |
| Vector3 | direction = Vector3(0.0f, -1.0f, 0.0f) |
| bool | falloffModeLinear = true |
| float | innerConeCos = 1.0f |
| float | intensity = 0.0f |
| float | outerConeCos = 1.0f |
| Vector3 | position = Vector3(0.0f) |
| float | range = 0.0f |
| int | shadowMapIndex = -1 |
| GpuLightType | type = GpuLightType::Directional |
Per-light GPU data uploaded to the lighting uniform buffer.
Definition at line 49 of file graphicsDevice.h.
| float visutwin::canvas::GpuLightData::areaHalfHeight = 0.0f |
Definition at line 67 of file graphicsDevice.h.
| float visutwin::canvas::GpuLightData::areaHalfWidth = 0.0f |
Definition at line 66 of file graphicsDevice.h.
Definition at line 68 of file graphicsDevice.h.
| bool visutwin::canvas::GpuLightData::castShadows = false |
Definition at line 60 of file graphicsDevice.h.
Definition at line 54 of file graphicsDevice.h.
Definition at line 53 of file graphicsDevice.h.
| bool visutwin::canvas::GpuLightData::falloffModeLinear = true |
Definition at line 59 of file graphicsDevice.h.
| float visutwin::canvas::GpuLightData::innerConeCos = 1.0f |
Definition at line 57 of file graphicsDevice.h.
| float visutwin::canvas::GpuLightData::intensity = 0.0f |
Definition at line 55 of file graphicsDevice.h.
| float visutwin::canvas::GpuLightData::outerConeCos = 1.0f |
Definition at line 58 of file graphicsDevice.h.
Definition at line 52 of file graphicsDevice.h.
| float visutwin::canvas::GpuLightData::range = 0.0f |
Definition at line 56 of file graphicsDevice.h.
| int visutwin::canvas::GpuLightData::shadowMapIndex = -1 |
Definition at line 63 of file graphicsDevice.h.
| GpuLightType visutwin::canvas::GpuLightData::type = GpuLightType::Directional |
Definition at line 51 of file graphicsDevice.h.