Skip to main content

ILampArray::GetIndicesCountForPurposes

返回支持给定 LampPurposes 集合的 Lamp 索引数量。

语法

参数

lampPurposes
类型:LampPurposes
要查询的所需用途集合。

返回值

类型:uint32_t 此 ILampArray 上支持 LampPurposes 中所有标记值的 Lamp 数量。

备注

在使用 ILampArray::GetIndicesForPurposes 之前,请调用此方法以确定该函数将支持的最大缓冲区大小。

要求

头文件: LampArray.h 库: xgameplatform.lib 支持的平台: XBOX One 系列主机和 XBOX Series 主机

另请参阅

光照 API 概览
ILampArray::GetIndicesForPurposes
ILampArray
最后修改于 2026年8月24日