> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GetUpdateLatencyInMicroseconds

> 傳回從 LampArray 收到 Lamp 更新到裝置上顯示變更之間的時間 (以微秒為單位)，有助於同步效果。

# ILampInfo::GetUpdateLatencyInMicroseconds

傳回從 LampArray 收到 Lamp 更新到裝置發出該更新之間的時間長度。

## 語法

```cpp theme={null}
uint64_t GetUpdateLatencyInMicroseconds(
)
```

### 參數

此方法沒有參數。

### 傳回值

類型：uint64\_t

從 LampArray 收到 Lamp 更新到裝置發出該更新之間的時間長度，以微秒為單位。

## 需求

**標頭：** LampArray.h

**程式庫：** xgameplatform.lib

**支援的平台：** XBOX One 系列主機和 XBOX Series 主機

## 另請參閱

[照明 API 概觀](https://docs.xbox.com/zh-TW/build/core-features/common/lighting/gc-lighting-toc.md)\
[ILampInfo](https://docs.xbox.com/zh-TW/reference/lighting/lamparray/interfaces/ilampinfo/ilampinfo.md)


## Related topics

- [ILampInfo (介面內容)](https://docs.xbox.com/zh-TW/reference/lighting/lamparray/interfaces/ilampinfo/ilampinfo.md)
- [GetMinUpdateIntervalInMicroseconds](https://docs.xbox.com/zh-TW/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getminupdateintervalinmicroseconds.md)
- [XGameStreamingGetStreamAddedLatency](https://docs.xbox.com/zh-TW/reference/system/xgamestreaming/functions/xgamestreaminggetstreamaddedlatency.md)
- [遊戲串流延遲補償深入探討](https://docs.xbox.com/zh-TW/build/core-features/common/game-streaming/game-streaming-latency-compensation-deep-dive.md)
- [IGameInputDevice::AcquireExclusiveRawDeviceAccess (已淘汰)](https://docs.xbox.com/zh-TW/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_acquireexclusiverawdeviceaccess.md)
