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

# Méthode ILampInfo::GetPurposes

> Retourne les indicateurs LampPurposes décrivant l'utilisation prévue d'un Lamp d'un LampArray, par exemple Control, Accent, Branding, Status ou Illumination.

# ILampInfo::GetPurposes

Retourne l'ensemble des utilisations prévues pour le Lamp.

## Syntaxe

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

### Paramètres

Cette méthode n'a aucun paramètre.

### Valeur de retour

Type : [LampPurposes](/fr/reference/lighting/lamparray/enums/lamppurposes)

Ensemble d'indicateurs précisant les utilisations prévues pour le Lamp.

## Configuration requise

**En-tête :** LampArray.h

**Bibliothèque :** xgameplatform.lib

**Plateformes prises en charge :** consoles de la famille XBOX One et consoles XBOX Series

## Voir aussi

[Vue d'ensemble de l'API d'éclairage](/fr/build/core-features/common/lighting/gc-lighting-toc)\
[ILampInfo](/fr/reference/lighting/lamparray/interfaces/ilampinfo/ilampinfo)


## Related topics

- [Méthode ILampInfo::GetIndex](/fr/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getindex.md)
- [Méthode ILampInfo::GetPosition](/fr/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getposition.md)
- [Méthode ILampInfo::GetNearestSupportedColor](/fr/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getnearestsupportedcolor.md)
- [Méthode ILampInfo::GetScanCode](/fr/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getscancode.md)
- [Méthode ILampInfo::GetFixedColor](/fr/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getfixedcolor.md)
