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
