|
KiCad PCB EDA Suite
|
Public Attributes | |
| float | depth = 0.0f |
| bool | hasNegatives = false |
| bool | inOrder = false |
| declared, so it has a place in the draw order | |
| bool | visible = true |
| hidden layers keep their groups but are not uploaded | |
| RHI_LAYER_DIM | dim |
| bool | overlayAlpha = false |
| see SetSceneLayerOverlayAlpha | |
| SCENE_ARENA< RHI_INSTANCE > | instances [ARENA_INSTANCE_COUNT] |
| SCENE_ARENA< RHI_VERTEX > | polygons |
| std::vector< int > | residents |
| groups holding a slot here | |
| std::vector< int > | bitmapResidents |
| the residents that carry bitmap quads | |
| std::optional< std::unordered_multimap< size_t, int > > | retainedPrefixIndex |
| uint32_t | alphaCount [256] = {} |
| Elements per alpha value. | |
| int | bakedAlpha = -1 |
| hoisted alpha, or -1 when elements keep their own | |
| bool | alphaStale = false |
| bool | translucent = false |
| some element is drawn with less than full alpha | |
| std::vector< POLARITY_RUN > | runs |
| The layer's content in the order and polarity it was placed in. | |
| bool | runsStale = false |
| uint32_t | knockoutGroups = 0 |
| residents recorded as knockouts | |
| std::shared_ptr< const RHI_RUN_TABLE > | cullRuns |
| Bounds of the arenas as last uploaded, for culling off-screen runs. | |
| size_t | cullCounted [ARENA_COUNT] = {} |
| Elements each arena held when cullRuns was counted. | |
Definition at line 684 of file gal_modern.h.
| uint32_t KIGFX::GAL_MODERN::SCENE_LAYER::alphaCount[256] = {} |
Elements per alpha value.
A layer whose elements all share one translucent alpha is composited with that alpha and stores opaque elements, as the full rebuild does.
Definition at line 705 of file gal_modern.h.
Referenced by KIGFX::GAL_MODERN::countGroupAlpha(), and KIGFX::GAL_MODERN::flushScene().
| bool KIGFX::GAL_MODERN::SCENE_LAYER::alphaStale = false |
Definition at line 707 of file gal_modern.h.
Referenced by KIGFX::GAL_MODERN::ChangeGroupColor(), KIGFX::GAL_MODERN::flushScene(), KIGFX::GAL_MODERN::placeGroupInScene(), and KIGFX::GAL_MODERN::removeGroupFromScene().
| int KIGFX::GAL_MODERN::SCENE_LAYER::bakedAlpha = -1 |
hoisted alpha, or -1 when elements keep their own
Definition at line 706 of file gal_modern.h.
Referenced by KIGFX::GAL_MODERN::appendSceneRanges(), KIGFX::GAL_MODERN::flushScene(), and KIGFX::GAL_MODERN::writeGroupToScene().
| std::vector<int> KIGFX::GAL_MODERN::SCENE_LAYER::bitmapResidents |
the residents that carry bitmap quads
Definition at line 698 of file gal_modern.h.
Referenced by KIGFX::GAL_MODERN::appendSceneRanges(), KIGFX::GAL_MODERN::placeGroupInScene(), and KIGFX::GAL_MODERN::removeGroupFromScene().
| size_t KIGFX::GAL_MODERN::SCENE_LAYER::cullCounted[ARENA_COUNT] = {} |
Elements each arena held when cullRuns was counted.
Definition at line 722 of file gal_modern.h.
Referenced by KIGFX::GAL_MODERN::updateSceneCullRuns().
| std::shared_ptr<const RHI_RUN_TABLE> KIGFX::GAL_MODERN::SCENE_LAYER::cullRuns |
Bounds of the arenas as last uploaded, for culling off-screen runs.
Definition at line 719 of file gal_modern.h.
Referenced by KIGFX::GAL_MODERN::appendSceneRanges(), KIGFX::GAL_MODERN::flushScene(), and KIGFX::GAL_MODERN::updateSceneCullRuns().
| float KIGFX::GAL_MODERN::SCENE_LAYER::depth = 0.0f |
Definition at line 686 of file gal_modern.h.
Referenced by KIGFX::GAL_MODERN::appendSceneRanges(), and KIGFX::GAL_MODERN::SetSceneLayerState().
| RHI_LAYER_DIM KIGFX::GAL_MODERN::SCENE_LAYER::dim |
Definition at line 691 of file gal_modern.h.
Referenced by KIGFX::GAL_MODERN::appendSceneRanges(), and KIGFX::GAL_MODERN::SetSceneLayerDim().
| bool KIGFX::GAL_MODERN::SCENE_LAYER::hasNegatives = false |
Definition at line 687 of file gal_modern.h.
Referenced by KIGFX::GAL_MODERN::appendSceneRanges(), KIGFX::GAL_MODERN::SetSceneLayerState(), and KIGFX::GAL_MODERN::writeGroupToScene().
| bool KIGFX::GAL_MODERN::SCENE_LAYER::inOrder = false |
declared, so it has a place in the draw order
Definition at line 688 of file gal_modern.h.
Referenced by KIGFX::GAL_MODERN::SetSceneLayerState().
| SCENE_ARENA<RHI_INSTANCE> KIGFX::GAL_MODERN::SCENE_LAYER::instances[ARENA_INSTANCE_COUNT] |
Definition at line 694 of file gal_modern.h.
Referenced by KIGFX::GAL_MODERN::appendSceneRanges(), KIGFX::GAL_MODERN::flushScene(), KIGFX::GAL_MODERN::placeGroupInScene(), KIGFX::GAL_MODERN::removeGroupFromScene(), KIGFX::GAL_MODERN::retainedTieOrderChanged(), KIGFX::GAL_MODERN::SetSceneLayerState(), KIGFX::GAL_MODERN::updateSceneCullRuns(), and KIGFX::GAL_MODERN::writeGroupToScene().
| uint32_t KIGFX::GAL_MODERN::SCENE_LAYER::knockoutGroups = 0 |
residents recorded as knockouts
Definition at line 716 of file gal_modern.h.
Referenced by KIGFX::GAL_MODERN::buildSceneRuns(), KIGFX::GAL_MODERN::placeGroupInScene(), and KIGFX::GAL_MODERN::removeGroupFromScene().
| bool KIGFX::GAL_MODERN::SCENE_LAYER::overlayAlpha = false |
see SetSceneLayerOverlayAlpha
Definition at line 692 of file gal_modern.h.
Referenced by KIGFX::GAL_MODERN::appendSceneRanges(), KIGFX::GAL_MODERN::SetSceneLayerOverlayAlpha(), and KIGFX::GAL_MODERN::writeGroupToScene().
| SCENE_ARENA<RHI_VERTEX> KIGFX::GAL_MODERN::SCENE_LAYER::polygons |
Definition at line 695 of file gal_modern.h.
Referenced by KIGFX::GAL_MODERN::appendSceneRanges(), KIGFX::GAL_MODERN::flushScene(), KIGFX::GAL_MODERN::placeGroupInScene(), KIGFX::GAL_MODERN::removeGroupFromScene(), KIGFX::GAL_MODERN::retainedTieOrderChanged(), KIGFX::GAL_MODERN::SetSceneLayerState(), KIGFX::GAL_MODERN::updateSceneCullRuns(), and KIGFX::GAL_MODERN::writeGroupToScene().
| std::vector<int> KIGFX::GAL_MODERN::SCENE_LAYER::residents |
groups holding a slot here
Definition at line 697 of file gal_modern.h.
Referenced by KIGFX::GAL_MODERN::buildSceneRuns(), KIGFX::GAL_MODERN::compactSceneArena(), KIGFX::GAL_MODERN::flushScene(), KIGFX::GAL_MODERN::placeGroupInScene(), KIGFX::GAL_MODERN::removeGroupFromScene(), KIGFX::GAL_MODERN::retainedTieOrderChanged(), KIGFX::GAL_MODERN::SetSceneLayerOverlayAlpha(), and KIGFX::GAL_MODERN::SetSceneLayerState().
| std::optional<std::unordered_multimap<size_t, int> > KIGFX::GAL_MODERN::SCENE_LAYER::retainedPrefixIndex |
Definition at line 699 of file gal_modern.h.
Referenced by KIGFX::GAL_MODERN::placeGroupInScene(), KIGFX::GAL_MODERN::removeGroupFromScene(), and KIGFX::GAL_MODERN::retainedTieOrderChanged().
| std::vector<POLARITY_RUN> KIGFX::GAL_MODERN::SCENE_LAYER::runs |
The layer's content in the order and polarity it was placed in.
Kept only where that order matters, and such a layer is drawn through the temp target.
Definition at line 714 of file gal_modern.h.
Referenced by KIGFX::GAL_MODERN::appendSceneRanges(), KIGFX::GAL_MODERN::buildSceneRuns(), and KIGFX::GAL_MODERN::sceneLayerComposited().
| bool KIGFX::GAL_MODERN::SCENE_LAYER::runsStale = false |
Definition at line 715 of file gal_modern.h.
Referenced by KIGFX::GAL_MODERN::buildSceneRuns(), KIGFX::GAL_MODERN::flushScene(), KIGFX::GAL_MODERN::placeGroupInScene(), KIGFX::GAL_MODERN::removeGroupFromScene(), and KIGFX::GAL_MODERN::SetSceneLayerState().
| bool KIGFX::GAL_MODERN::SCENE_LAYER::translucent = false |
some element is drawn with less than full alpha
Definition at line 708 of file gal_modern.h.
Referenced by KIGFX::GAL_MODERN::appendSceneRanges(), KIGFX::GAL_MODERN::flushScene(), and KIGFX::GAL_MODERN::writeGroupToScene().
| bool KIGFX::GAL_MODERN::SCENE_LAYER::visible = true |
hidden layers keep their groups but are not uploaded
Definition at line 689 of file gal_modern.h.
Referenced by KIGFX::GAL_MODERN::appendSceneRanges(), KIGFX::GAL_MODERN::flushScene(), and KIGFX::GAL_MODERN::SetSceneLayerState().