Skip to main content
Create a sampler object that encapsulates sampling information for a texture.

Syntax

Parameters

pDesc [in]
Type: const D3D12_SAMPLER_DESC *
A pointer to a D3D12_SAMPLER_DESC structure that describes the sampler. DestDescriptor [in]
Type: D3D12_CPU_DESCRIPTOR_HANDLE
Describes the CPU descriptor handle that represents the start of the heap that holds the sampler.

Return value

Type: void None.

Requirements

Header: d3d12_xs.h or d3d12_x.h
Library: d3d12_xs.lib or d3d12_x.lib
Supported Platforms: XBOX Series consoles and XBOX One family

See Also

ID3D12Device
Last modified on August 20, 2026