SystemMonitors¶
-
class
PyOpenColorIO.SystemMonitors¶ Provides access to the ICC monitor profile provided by the operating system for each active display.
-
SystemMonitors() → None¶
-
getMonitors() → PyOpenColorIO.SystemMonitors.MonitorIterator¶
-
-
class
OpenColorIO_v2_0::SystemMonitors¶ Provides access to the ICC monitor profile provided by the operating system for each active display.
Public Functions
-
SystemMonitors(const SystemMonitors&) = delete¶
-
SystemMonitors &
operator=(const SystemMonitors&) = delete¶
-
bool
isSupported() const noexcept = 0¶ True if the OS is able to provide ICC profiles for the attached monitors (macOS, Windows) and false otherwise.
-
size_t
getNumMonitors() const noexcept = 0¶ Get the number of active monitors reported by the operating system.
-
const char *
getMonitorName(size_t idx) const = 0¶ Get the monitor profile name.
Get the string describing the monitor. It is used as an argument to instantiateDisplay. It may also be used in a UI to ask a user which of several monitors they want to instantiate a display for.
-
const char *
getProfileFilepath(size_t idx) const = 0¶ Get the ICC profile path associated to the monitor.
Public Static Functions
-
ConstSystemMonitorsRcPtr
Get() noexcept¶ Get the existing instance.
-
-
typedef std::shared_ptr<const SystemMonitors>
OpenColorIO_v2_0::ConstSystemMonitorsRcPtr¶
-
typedef std::shared_ptr<SystemMonitors>
OpenColorIO_v2_0::SystemMonitorsRcPtr¶