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
