ID3D12Device::CreateSamplerX Method

Create a sampler object that encapsulates sampling information for a texture on Xbox.

Syntax

public:
void D3DAPI CreateSamplerX(
         const D3D12XBOX_SAMPLER_DESC *pDesc,
         D3D12_CPU_DESCRIPTOR_HANDLE DestDescriptor
)  

Parameters

pDesc
Type: D3D12XBOX_SAMPLER_DESC *

[in] A pointer to a sampler description that specifies sampler details such as filtering, address modes, Level-of-Detail (LOD) information, anisotropy, comparison options, border color, and performance-versus-quality preferences.

DestDescriptor
Type: D3D12_CPU_DESCRIPTOR_HANDLE 

[in] Describes the CPU descriptor handle that represents the start of the heap that contains the sampler.

Return value

Type: void D3DAPI 

Nothing.

Requirements

Header: Declared in d3d12_x.h.

Library: Use d3d12_x.lib.