หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Returns the number of Lamp indices that support the given set of LampPurposes.
Syntax
uint32_t GetIndicesCountForPurposes(
LampPurposes lampPurposes)
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