> ## 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.

# XBOX 与 PC 上的 Lighting API 与 LampArray

> 使用 GDK Lighting API 驱动外设与控制器的 RGB 灯光，并介绍面向 XBOX Series X|S、XBOX One 与 Windows 游戏的 LampArray 基础知识。

浏览 XBOX 游戏开发中的光照相关主题。

> [card] [光照 API](https://docs.xbox.com/zh-CN/build/core-features/common/lighting/gc-lighting-toc.md)
>
> 使用 GDK LampArray API 控制兼容键盘、鼠标、耳机和其他外设上的 RGB 灯光。

> [card] [Lamparray 基础](https://docs.xbox.com/zh-CN/build/core-features/common/lighting/lighting-basics.md)
>
> 本页介绍如何注册 LampArray 回调并与 ILampArray 和 ILampInfo 实例进行交互。

> [card] [在 Lamparray 上设置颜色](https://docs.xbox.com/zh-CN/build/core-features/common/lighting/lighting-colors.md)
>
> ILampArray 上所有的颜色更新函数都使用 LampArrayColor 结构来表示 RGBA 颜色值。

> [card] [Lamparray 效果](https://docs.xbox.com/zh-CN/build/core-features/common/lighting/lighting-effects.md)
>
> 在游戏循环内调用 ILampArray 颜色函数以产生效果和动画。

## 另请参阅

* [异步](https://docs.xbox.com/zh-CN/build/core-features/common/async/index.md)
* [游戏配置](https://docs.xbox.com/zh-CN/build/core-features/common/game-config/index.md)
* [游戏存档](https://docs.xbox.com/zh-CN/build/core-features/common/game-save/index.md)
* [游戏串流](https://docs.xbox.com/zh-CN/build/core-features/common/game-streaming/index.md)
* [输入](https://docs.xbox.com/zh-CN/build/core-features/common/input/index.md)
* [打包](https://docs.xbox.com/zh-CN/build/core-features/common/packaging/index.md)
* [用户](https://docs.xbox.com/zh-CN/build/core-features/common/user/index.md)


## Related topics

- [LampArrayEnumerationKind 枚举](https://docs.xbox.com/zh-CN/reference/lighting/lamparray/enums/lamparrayenumerationkind.md)
- [LampArray 效果](https://docs.xbox.com/zh-CN/build/core-features/common/lighting/lighting-effects.md)
- [在 LampArray 上设置颜色](https://docs.xbox.com/zh-CN/build/core-features/common/lighting/lighting-colors.md)
- [Windows 与 ROG XBOX Ally 概览](https://docs.xbox.com/zh-CN/paths/windows/overview.md)
- [LampPurposes 枚举](https://docs.xbox.com/zh-CN/reference/lighting/lamparray/enums/lamppurposes.md)
