Skip to main content

ILampArray::GetIndicesCountForPurposes

Returns the number of Lamp indices that support the given set of LampPurposes.

Syntax

Parameters

lampPurposes
Type: LampPurposes
The desired set of purposes to query.

Return value

Type: uint32_t The number of Lamps on this ILampArray that support all values marked in LampPurposes.

Remarks

Call this method prior to using ILampArray::GetIndicesForPurposes to determine the maximum buffer size that function will support.

Requirements

Header: LampArray.h Library: xgameplatform.lib Supported platforms: XBOX One family consoles and XBOX Series consoles

See also

Lighting API Overview
ILampArray::GetIndicesForPurposes
ILampArray
Last modified on August 20, 2026