|
KiCad PCB EDA Suite
|
Fade of a whole layer towards a colour, laid out as the push constants of layer_dim.glsl. More...
#include <frame_packet.h>
Public Member Functions | |
| bool | operator== (const RHI_LAYER_DIM &aOther) const =default |
Public Attributes | |
| float | toward [3] = { 0.0f, 0.0f, 0.0f } |
| float | keep = 1.0f |
| 1 leaves the layer as it is | |
Fade of a whole layer towards a colour, laid out as the push constants of layer_dim.glsl.
High contrast uses it to dim an inactive layer, and elements flagged RHI_INSTANCE_UNDIMMED keep their colour.
Definition at line 154 of file frame_packet.h.
|
default |
| float KIGFX::RHI_LAYER_DIM::keep = 1.0f |
1 leaves the layer as it is
Definition at line 157 of file frame_packet.h.
Referenced by KIGFX::GAL_MODERN::SetSceneLayerDim().
| float KIGFX::RHI_LAYER_DIM::toward[3] = { 0.0f, 0.0f, 0.0f } |
Definition at line 156 of file frame_packet.h.
Referenced by KIGFX::GAL_MODERN::SetSceneLayerDim().