mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-24 04:58:59 -05:00
Layers have LayerRenderingSetting which syncs to GPU automatically
This commit is contained in:
@@ -91,9 +91,13 @@ namespace globebrowsing {
|
||||
prop.isEnabled.onChange([&]{
|
||||
layer.isActive = prop.isEnabled;
|
||||
});
|
||||
|
||||
/*
|
||||
for (auto setting : layer.settings.array()) {
|
||||
prop.addProperty(setting->property());
|
||||
}*/
|
||||
|
||||
for (std::shared_ptr<GPUProperty> gpuProperty : layer.renderConfig.gpuProperties()) {
|
||||
prop.addProperty(*gpuProperty);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user