#pragma once #include #include #include namespace UsdLayerManager { struct OcioConfig { std::vector displays; std::unordered_map> views; // display → views std::vector colorSpaces; std::vector looks; std::string defaultDisplay; std::string defaultView; // default view for defaultDisplay bool valid = false; // false if $OCIO unavailable }; /// Returns the OCIO config loaded from the $OCIO env var via the OCIO C++ API. /// Result is cached — parsed once per process lifetime. const OcioConfig& GetCurrentOcioConfig(); } // namespace UsdLayerManager