> ## 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 ILampArray::GetLampCount

> Retourne le nombre total de Lamps adressables individuellement sur un périphérique LampArray, utilisé pour parcourir les index lors du pilotage de l'éclairage RVB.

# ILampArray::GetLampCount

Retourne le nombre de Lamps qui font partie de cet ILampArray.

## Syntaxe

```cpp theme={null}
uint32_t GetLampCount(
)
```

### Paramètres

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

### Valeur de retour

Type : uint32\_t

Le nombre de Lamps de l'ILampArray.

## 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)\
[ILampArray](/fr/reference/lighting/lamparray/interfaces/ilamparray/ilamparray)


## Related topics

- [ILampArray::GetLampCount](/ko/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getlampcount.md)
- [ILampArray::GetLampCount method](/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getlampcount.md)
- [Método ILampArray::GetLampCount](/es/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getlampcount.md)
- [ILampArray::GetLampInfo](/zh-CN/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getlampinfo.md)
- [ILampArray::GetLampInfo method](/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getlampinfo.md)
