次の方法で共有


ILampArray::GetIndicesCountForPurposes

指定された LampPurposes のセットをサポートする Lamp インデックスの数を返します。

構文

uint32_t GetIndicesCountForPurposes(
    LampPurposes lampPurposes)

パラメーター

LampPurposes
型: LampPurposes

クエリを実行する目的のセット。

戻り値

型: uint32_t

LampPurposes でマークされたすべての値をサポートするこの ILampArray のランプの数。

解説

ILampArray::GetIndicesForPurposes を使用して、関数がサポートする最大バッファー サイズを決定する前に、このメソッドを呼び出します。

要件

ヘッダー: LampArray.h

ライブラリ: xgameplatform.lib

サポートされているプラットフォーム: Xbox One ファミリー本体、Xbox Series 本体

関連項目

ライティング API の概要
ILampArray::GetIndicesForPurposes
ILampArray