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

# D3D12_COMPUTE_PIPELINE_STATE_DESC

> 컴퓨트 파이프라인 상태 개체를 설명합니다.

컴퓨트 파이프라인 상태 개체를 설명합니다.

## 구문

```cpp theme={null}
typedef struct D3D12_COMPUTE_PIPELINE_STATE_DESC
{
    ID3D12RootSignature  pRootSignature;
    D3D12_SHADER_BYTECODE CS;
    UINT NodeMask;
    D3D12_CACHED_PIPELINE_STATE CachedPSO;
    D3D12_PIPELINE_STATE_FLAGS Flags;
} D3D12_COMPUTE_PIPELINE_STATE_DESC
```

### 멤버

*pRootSignature*\
형식: ID3D12RootSignature \*

[ID3D12RootSignature](/reference/graphics/d3d12/interfaces/id3d12rootsignature/id3d12rootsignature_public) 개체에 대한 포인터입니다.

*CS*\
형식: D3D12\_SHADER\_BYTECODE

컴퓨트 셰이더를 설명하는 [D3D12\_SHADER\_BYTECODE](/reference/graphics/d3d12/structs/d3d12_shader_bytecode_public) 구조체입니다.

*NodeMask*\
형식: UINT

단일 GPU 작업의 경우 이 값을 0으로 설정합니다. GPU 노드가 여러 개인 경우, 컴퓨트 파이프라인 상태가 적용될 노드(장치의 물리적 어댑터)를 식별하는 비트를 설정합니다.
마스크의 각 비트는 단일 노드에 해당합니다.
[다중 어댑터 시스템](https://learn.microsoft.com/en-us/windows/win32/direct3d12/multi-engine)을 참조하세요.

*CachedPSO*\
형식: D3D12\_CACHED\_PIPELINE\_STATE

캐시된 파이프라인 상태 개체이며 [D3D12\_CACHED\_PIPELINE\_STATE](/reference/graphics/d3d12/structs/d3d12_cached_pipeline_state_public) 구조체입니다. pCachedBlob와 CachedBlobSizeInBytes는 각각 NULL과 0으로 설정할 수 있습니다.

*Flags*\
형식: D3D12\_PIPELINE\_STATE\_FLAGS

"도구 디버그(tool debug)" 등과 같은 [D3D12\_PIPELINE\_STATE\_FLAGS](/reference/graphics/d3d12_xs/enums/d3d12_pipeline_state_flags_xs) 열거형 상수입니다.

## 설명

이 구조체는 [CreateComputePipelineState](/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_createcomputepipelinestate_public)에서 사용됩니다.

## 요구 사항

**헤더:** d3d12\_xs.h 또는 d3d12\_x.h\
**라이브러리:** d3d12\_xs.lib 또는 d3d12\_x.lib\
**지원 플랫폼:** XBOX Series 콘솔 및 XBOX One 제품군

## 관련 항목

[핵심 구조체](https://learn.microsoft.com/en-us/windows/win32/direct3d12/direct3d-12-structures)


## Related topics

- [CreateComputePipelineState](/ko/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_createcomputepipelinestate_public.md)
- [LoadComputePipeline](/ko/reference/graphics/d3d12/interfaces/id3d12pipelinelibrary/methods/id3d12pipelinelibrary_loadcomputepipeline_public.md)
- [LoadPipeline](/ko/reference/graphics/d3d12/interfaces/id3d12pipelinelibrary1/methods/id3d12pipelinelibrary1_loadpipeline_public.md)
- [D3D12_SHADER_BYTECODE](/ko/reference/graphics/d3d12/structs/d3d12_shader_bytecode_public.md)
- [D3D12_CACHED_PIPELINE_STATE](/ko/reference/graphics/d3d12/structs/d3d12_cached_pipeline_state_public.md)
