FlightGear Headless: Difference between revisions

No edit summary
Line 32: Line 32:
* virtual void shutdownVisuals();  
* virtual void shutdownVisuals();  


With the expectation that the manager layer (FGScenery or FGRenderer) calls initVisuals / updateVisuals / shutdownVisuals if it exists. This also forces the implementation of each subsystem to distinguish simulation pieces (modifies properties) from display pieces (reads but hopefully does not modify properties, modifies OSG state) <ref>{{cite web
With the expectation that the manager layer (FGScenery or FGRenderer) calls initVisuals / updateVisuals / shutdownVisuals if it exists. This also forces the implementation of each subsystem to distinguish simulation pieces (modifies properties) from display pieces (reads but hopefully does not modify properties, modifies OSG/rendering state, i.e. visuals) <ref>{{cite web
   |url    = https://sourceforge.net/p/flightgear/mailman/message/35064249/
   |url    = https://sourceforge.net/p/flightgear/mailman/message/35064249/
   |title  = <nowiki>Re: [Flightgear-devel] Integration of the new subsystem design and
   |title  = <nowiki>Re: [Flightgear-devel] Integration of the new subsystem design and