D3D11XInitializeSamplerStateDesc

Initializes a sampler state descriptor.

Syntax

void D3D11XInitializeSamplerStateDesc(
         D3D11X_SAMPLER_STATE_DESC *pDesc,
         const D3D11_SAMPLER_DESC *pSamplerDesc
)  

Parameters

pDesc
Type: D3D11X_SAMPLER_STATE_DESCĀ *

The sampler state descriptor to initialize, as a pointer to a D3D11X_SAMPLER_STATE_DESC structure.

pSamplerDesc
Type: D3D11_SAMPLER_DESCĀ *

A sampler descriptor, as a pointer to a D3D11_SAMPLER_DESC structure.

Return value

None.

Requirements

Header: Declared in d3d11_x.h.

Library: Use d3d11_x.lib.