> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PIX_COLOR_INDEX

> PIX_COLOR_INDEX

# PIX\_COLOR\_INDEX

고유한 이벤트 카테고리 집합을 지정하고 PIX가 각 카테고리를 나타낼 색상을 선택하도록 합니다.

## 구문

```cpp theme={null}
UINT PIX_COLOR_INDEX(  
         BYTE i  
)  
```

### 매개변수

*i*   \
형식: BYTE

색상의 인덱스입니다.

### 반환값

형식: UINT

카테고리를 나타내는 색상을 포함하는 UINT를 반환합니다.

## 설명

PIX\_COLOR\* 함수를 사용하여 PIX 이벤트/마커 API에 메타데이터로 전달할 색상을 지정합니다. 이벤트에 대한 특정 색상을 지정하려면 [PIX\_COLOR](/reference/tools/pix3/functions/pix_color)를 사용합니다. 또는 `PIX_COLOR_INDEX`를 사용하여 고유한 이벤트 카테고리 집합을 지정하고 PIX가 각 카테고리를 나타낼 색상을 선택하게 할 수 있습니다. `PIX_COLOR_INDEX`는 8개의 고유한 색상 인덱스를 사용할 수 있게 해줍니다. 함수는 *i* % 8을 사용하여 인덱스 값을 래핑하여 적절한 색상을 결정할 인덱스를 선택합니다.\
PIX\_COLOR\* 함수는 여러 함수에 대한 색상 매개변수를 결정하여 PIX 차트에 표시되는 방식을 나타내는 데 사용할 수 있습니다. 이러한 함수에는 오버로드된 메서드 [PIXBeginEvent](/reference/tools/pix3/functions/pixbeginevent-overloads) 및 [PIXSetMarker](/reference/tools/pix3/functions/pixsetmarker-overloads)가 포함됩니다.

## 요구 사항

**헤더:** pix3.h

**라이브러리:** pixevt.lib

**지원되는 플랫폼:** XBOX One 계열 콘솔 및 XBOX Series 콘솔

## 함께 보기

[PIX\_COLOR](/reference/tools/pix3/functions/pix_color)\
[PIXBeginEvent](/reference/tools/pix3/functions/pixbeginevent)\
[PIXSetMarker](/reference/tools/pix3/functions/pixsetmarker)\
[PIX3](/reference/tools/pix3/pix3_members)\
[PIX(NDA 항목)](/tools/tools-console/pix/pix)


## Related topics

- [PIX_COLOR](/ko/reference/tools/pix3/functions/pix_color.md)
- [PIXSetMarker function](/ko/reference/tools/pix3/functions/pixsetmarker.md)
- [PIXSetMarker reference](/ko/reference/tools/pix3/functions/pixsetmarker_2.md)
- [PIXBeginEvent function](/ko/reference/tools/pix3/functions/pixbeginevent.md)
- [PIXBeginEvent function reference](/ko/reference/tools/pix3/functions/pixbeginevent_2.md)
