Class EXTThermalQuery


  • public class EXTThermalQuery
    extends java.lang.Object
    The EXT_thermal_query extension.
    • Field Detail

      • XR_EXT_thermal_query_SPEC_VERSION

        public static final int XR_EXT_thermal_query_SPEC_VERSION
        The extension specification version.
        See Also:
        Constant Field Values
      • XR_EXT_THERMAL_QUERY_EXTENSION_NAME

        public static final java.lang.String XR_EXT_THERMAL_QUERY_EXTENSION_NAME
        The extension name.
        See Also:
        Constant Field Values
    • Method Detail

      • nxrThermalGetTemperatureTrendEXT

        public static int nxrThermalGetTemperatureTrendEXT​(XrSession session,
                                                           int domain,
                                                           long notificationLevel,
                                                           long tempHeadroom,
                                                           long tempSlope)
      • xrThermalGetTemperatureTrendEXT

        public static int xrThermalGetTemperatureTrendEXT​(XrSession session,
                                                          int domain,
                                                          java.nio.IntBuffer notificationLevel,
                                                          java.nio.FloatBuffer tempHeadroom,
                                                          java.nio.FloatBuffer tempSlope)
        xrThermalGetTemperatureTrendEXT.
        C Specification
        
         XrResult xrThermalGetTemperatureTrendEXT(
             XrSession                                   session,
             XrPerfSettingsDomainEXT                     domain,
             XrPerfSettingsNotificationLevelEXT*         notificationLevel,
             float*                                      tempHeadroom,
             float*                                      tempSlope);
        Valid Usage (Implicit)
        • The XR_EXT_thermal_query extension must be enabled prior to calling ThermalGetTemperatureTrendEXT
        • session must be a valid XrSession handle
        • domain must be a valid XrPerfSettingsDomainEXT value
        • notificationLevel must be a pointer to an XrPerfSettingsNotificationLevelEXT value
        • tempHeadroom must be a pointer to a float value
        • tempSlope must be a pointer to a float value
        Return Codes
        On success, this command returns
        On failure, this command returns
        Parameters:
        session - a valid XrSession handle.
        domain - : the processing domain
        notificationLevel - : the current warning level
        tempHeadroom - : temperature headroom in degrees Celsius, expressing how far the most-critical temperature of the domain is from its thermal throttling threshold temperature.
        tempSlope - : the current trend in degrees Celsius per second of the most critical temperature of the domain.