> ## 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.

# SetPipelineState1 (XBOX Series 콘솔)

> 명령 목록에 상태 개체를 설정합니다.

명령 목록에 상태 개체를 설정합니다.

## 구문

```cpp theme={null}
void SetPipelineState1(
    ID3D12StateObject  pStateObject
)
```

### 매개 변수

*pStateObject*\
형식: ID3D12StateObject \*

명령 목록에 설정할 상태 개체입니다. 현재 릴리스에서는 [D3D12\_STATE\_OBJECT\_TYPE\_RAYTRACING\_PIPELINE](/reference/graphics/d3d12/enums/d3d12_state_object_type_public) 유형만 가능합니다.

### 반환 값

형식: void

없음.

## 설명

이 메서드는 그래픽 또는 컴퓨트 명령 목록과 번들에서 호출할 수 있습니다.

이 메서드는 그래픽 및 컴퓨트 셰이더에 대해서만 정의된 [ID3D12GraphicsCommandList::SetPipelineState](/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setpipelinestate_public)의 대안입니다. 명령 목록에는 한 번에 하나의 파이프라인 상태만 활성화되므로, 두 호출 중 하나가 현재 파이프라인 상태를 설정합니다. 호출 간의 차이점은 각각 특정 유형의 파이프라인 상태만 설정한다는 것입니다. 현재 릴리스에서 **SetPipelineState1**은 레이트레이싱 파이프라인 상태를 설정하는 데만 사용됩니다.

## 요구 사항

**헤더:** d3d12\_xs.h\
**라이브러리:** d3d12\_xs.lib\
**지원 플랫폼**: XBOX Series 콘솔

## 함께 보기

[ID3D12GraphicsCommandList4](/reference/graphics/d3d12_xs/interfaces/ID3D12GraphicsCommandList4/id3d12graphicscommandlist4)


## Related topics

- [SetPipelineStackSize (XBOX Series 콘솔)](/ko/reference/graphics/d3d12/interfaces/id3d12stateobjectproperties/methods/id3d12stateobjectproperties_setpipelinestacksize_public.md)
- [GetPipelineStackSize (XBOX Series 콘솔)](/ko/reference/graphics/d3d12/interfaces/id3d12stateobjectproperties/methods/id3d12stateobjectproperties_getpipelinestacksize_public.md)
- [D3D12_RAYTRACING_PIPELINE_CONFIG (XBOX Series 콘솔)](/ko/reference/graphics/d3d12/structs/d3d12_raytracing_pipeline_config_public.md)
- [D3D12_RAYTRACING_PIPELINE_CONFIG1 (XBOX Series 콘솔)](/ko/reference/graphics/d3d12/structs/d3d12_raytracing_pipeline_config1_public.md)
- [RSSetShadingRate (XBOX Series 콘솔)](/ko/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist5/methods/id3d12graphicscommandlist5_rssetshadingrate_public.md)
