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

# CreateSampler

> 텍스처에 대한 샘플링 정보를 캡슐화하는 샘플러 객체를 만듭니다.

텍스처에 대한 샘플링 정보를 캡슐화하는 샘플러 객체를 만듭니다.

## 구문

```cpp theme={null}
void CreateSampler(
    const D3D12_SAMPLER_DESC  pDesc,
    D3D12_CPU_DESCRIPTOR_HANDLE DestDescriptor
)
```

### 매개 변수

*pDesc \[in]*\
형식: const D3D12\_SAMPLER\_DESC \*

샘플러를 설명하는 [D3D12\_SAMPLER\_DESC](/reference/graphics/d3d12/structs/d3d12_sampler_desc_public) 구조체에 대한 포인터입니다.

*DestDescriptor \[in]*\
형식: D3D12\_CPU\_DESCRIPTOR\_HANDLE

샘플러를 담고 있는 힙의 시작을 나타내는 CPU 디스크립터 핸들을 설명합니다.

### 반환 값

형식: void

없음.

## 요구 사항

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

## 함께 보기

[ID3D12Device](/reference/graphics/d3d12_x/interfaces/id3d12device/id3d12device)


## Related topics

- [D3D12_SAMPLER_DESC](/ko/reference/graphics/d3d12/structs/d3d12_sampler_desc_public.md)
- [D3D12_CPU_DESCRIPTOR_HANDLE](/ko/reference/graphics/d3d12/structs/d3d12_cpu_descriptor_handle_public.md)
- [XBOX Series X|S의 Sampler Feedback 및 SFS](/ko/build/core-features/graphics/newfeatures/sfs/index.md)
- [D3D12_STATIC_SAMPLER_DESC](/ko/reference/graphics/d3d12/structs/d3d12_static_sampler_desc_public.md)
- [D3D12_ROOT_SIGNATURE_DESC1](/ko/reference/graphics/d3d12/structs/d3d12_root_signature_desc1_public.md)
