Top Description Fields Constructors Methods
org.lwjgl.openxr

public Class EXTThermalQuery

extends Object
Class Inheritance
Imports
java.nio.*, org.lwjgl.system.*

The XR_EXT_thermal_query extension.

This extension provides an API to query a domain’s current thermal warning level and current thermal trend.

Field Summary

Modifier and TypeField and Description
public static final String
public static final int
XR_EXT_thermal_query_SPEC_VERSION

The extension specification version.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static int
nxrThermalGetTemperatureTrendEXT(XrSession session, int domain, long notificationLevel, long tempHeadroom, long tempSlope)

Unsafe version of: ThermalGetTemperatureTrendEXT

public static int
xrThermalGetTemperatureTrendEXT(XrSession
a valid XrSession handle.
session
,
int
: the processing domain
domain
,
IntBuffer
: the current warning level
notificationLevel
,
FloatBuffer
: temperature headroom in degrees Celsius, expressing how far the most-critical temperature of the domain is from its thermal throttling threshold temperature.
tempHeadroom
,
FloatBuffer
: the current trend in degrees Celsius per second of the most critical temperature of the domain.
tempSlope
)

xrThermalGetTemperatureTrendEXT.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

XR_EXT_THERMAL_QUERY_EXTENSION_NAMEback to summary
public static final String XR_EXT_THERMAL_QUERY_EXTENSION_NAME

The extension name.

XR_EXT_thermal_query_SPEC_VERSIONback to summary
public static final int XR_EXT_thermal_query_SPEC_VERSION

The extension specification version.

Constructor Detail

EXTThermalQueryback to summary
protected EXTThermalQuery()

Method Detail

nxrThermalGetTemperatureTrendEXTback to summary
public static int nxrThermalGetTemperatureTrendEXT(XrSession session, int domain, long notificationLevel, long tempHeadroom, long tempSlope)

Unsafe version of: ThermalGetTemperatureTrendEXT

xrThermalGetTemperatureTrendEXTback to summary
public static int xrThermalGetTemperatureTrendEXT(XrSession session, int domain, IntBuffer notificationLevel, FloatBuffer tempHeadroom, 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:XrSession

a valid XrSession handle.

domain:int

: the processing domain

notificationLevel:IntBuffer

: the current warning level

tempHeadroom:FloatBuffer

: temperature headroom in degrees Celsius, expressing how far the most-critical temperature of the domain is from its thermal throttling threshold temperature.

tempSlope:FloatBuffer

: the current trend in degrees Celsius per second of the most critical temperature of the domain.

Annotations
@NativeType:XrResult