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

# GetPurposes

> ILampInfo::GetPurposes

# ILampInfo::GetPurposes

Lamp が使用されることを想定した用途のセットを返します。

## 構文

```cpp theme={null}
LampPurposes GetPurposes(
)
```

### パラメーター

このメソッドにはパラメーターがありません。

### 戻り値

Type: [LampPurposes](https://docs.xbox.com/ja-jp/reference/lighting/lamparray/enums/lamppurposes.md)

Lamp が使用されることを想定した用途を示すフラグのセットです。

## 要件

**ヘッダー:** LampArray.h

**ライブラリ:** xgameplatform.lib

**サポートされているプラットフォーム:** XBOX One ファミリ本体および XBOX Series 本体

## 関連項目

[Lighting API の概要](https://docs.xbox.com/ja-jp/build/core-features/common/lighting/gc-lighting-toc.md)\
[ILampInfo](https://docs.xbox.com/ja-jp/reference/lighting/lamparray/interfaces/ilampinfo/ilampinfo.md)


## Related topics

- [LampPurposes 列挙型](https://docs.xbox.com/ja-jp/reference/lighting/lamparray/enums/lamppurposes.md)
- [ILampInfo (インターフェイスの内容)](https://docs.xbox.com/ja-jp/reference/lighting/lamparray/interfaces/ilampinfo/ilampinfo.md)
- [GetIndicesForPurposes](https://docs.xbox.com/ja-jp/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getindicesforpurposes.md)
- [GetIndicesCountForPurposes](https://docs.xbox.com/ja-jp/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getindicescountforpurposes.md)
- [ILampArray (インターフェイスの内容)](https://docs.xbox.com/ja-jp/reference/lighting/lamparray/interfaces/ilamparray/ilamparray.md)
