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

# ILampInfo::GetGainLevelCount method

> Returns the number of color-independent intensity levels a Lamp on a LampArray can display, used to gauge brightness resolution for the Lamp.

# ILampInfo::GetGainLevelCount

Returns the number of color independent intensities settable for this Lamp.

## Syntax

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

### Parameters

This method has no parameters.

### Return value

Type: uint32\_t

The intensity value settable for the Lamp.

## Requirements

**Header:** LampArray.h

**Library:** xgameplatform.lib

**Supported platforms:** XBOX One family consoles and XBOX Series consoles

## See also

[Lighting API Overview](/build/core-features/common/lighting/gc-lighting-toc)\
[ILampInfo](/reference/lighting/lamparray/interfaces/ilampinfo/ilampinfo)


## Related topics

- [ILampInfo::GetNearestSupportedColor method](/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getnearestsupportedcolor.md)
- [ILampInfo::GetBlueLevelCount method](/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getbluelevelcount.md)
- [ILampInfo::GetGreenLevelCount method](/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getgreenlevelcount.md)
- [ILampInfo::GetRedLevelCount method](/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getredlevelcount.md)
- [ILampInfo::GetIndex method](/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getindex.md)
