Package org.lwjgl.openxr
Class EXTThermalQuery
- java.lang.Object
-
- org.lwjgl.openxr.EXTThermalQuery
-
public class EXTThermalQuery extends java.lang.ObjectThe EXT_thermal_query extension.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringXR_EXT_THERMAL_QUERY_EXTENSION_NAMEThe extension name.static intXR_EXT_thermal_query_SPEC_VERSIONThe extension specification version.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intnxrThermalGetTemperatureTrendEXT(XrSession session, int domain, long notificationLevel, long tempHeadroom, long tempSlope)Unsafe version of:ThermalGetTemperatureTrendEXTstatic intxrThermalGetTemperatureTrendEXT(XrSession session, int domain, java.nio.IntBuffer notificationLevel, java.nio.FloatBuffer tempHeadroom, java.nio.FloatBuffer tempSlope)xrThermalGetTemperatureTrendEXT.
-
-
-
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)
Unsafe version of:ThermalGetTemperatureTrendEXT
-
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_queryextension must be enabled prior to callingThermalGetTemperatureTrendEXT sessionmust be a validXrSessionhandledomainmust be a validXrPerfSettingsDomainEXTvaluenotificationLevelmust be a pointer to anXrPerfSettingsNotificationLevelEXTvaluetempHeadroommust be a pointer to afloatvaluetempSlopemust be a pointer to afloatvalue
Return Codes
- On success, this command returns
- On failure, this command returns
- Parameters:
session- a validXrSessionhandle.domain- : the processing domainnotificationLevel- : the current warning leveltempHeadroom- : 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.
- The
-
-