返回支持给定 LampPurposes 集的 Lamp 索引的数量。
语法
uint32_t GetIndicesCountForPurposes(
LampPurposes lampPurposes)
参数
lampPurposes
类型:LampPurposes
所需的要查询目标集。
返回值
类型:uint32_t
支持 LampPurposes. 暴击的所有值的 ILampArray 上的 Lamps 数量。
备注
在使用 ILampArray::GetIndicesForPurposes 之前调用此方法,以确定函数支持的最大缓冲大小。
要求
头文件:LampArray.h
库:xgameplatform.lib
支持的平台:Xbox One 系列主机和 Xbox Series 主机
另请参阅
Lighting API 概述
ILampArray::GetIndicesForPurposes
ILampArray