Skip to main content

ILampArray::GetIndicesForPurposes

주어진 LampPurposes 집합을 지원하는 Lamp 인덱스로 버퍼를 채웁니다. 이 메서드를 호출하기 전에 ILampArray::GetIndicesCountForPurposes를 호출하여 최대 버퍼 크기를 얻어야 합니다.

구문

매개변수

lampPurposes 형식: LampPurposes 원하는 LampPurposes 집합입니다. lampIndicesCount
형식: uint32_t
채울 버퍼의 크기입니다. lampIndices  _Out_writes_(lampIndicesCount) 형식: uint32_t* Lamp 인덱스 버퍼입니다. 버퍼에 기록된 인덱스는 lampPurposes의 모든 플래그와 일치하는 Lamp의 인덱스입니다.

반환값

형식: void

설명

다음 코드는 ILampArray의 모든 브랜딩 Lamp에 색상을 설정하는 방법을 보여줍니다.

요구 사항

헤더: LampArray.h 라이브러리: xgameplatform.lib 지원되는 플랫폼: XBOX One 계열 콘솔 및 XBOX Series 콘솔

함께 보기

Lighting API 개요
ILampArray::GetIndicesCountForPurposes
ILampArray::SetColorsForIndices
ILampArray
마지막 수정일 2026년 8월 24일