ID3D11DeviceX::ComposeSamplerState Method

Composes a sampler state.

Syntax

public:
HRESULT ComposeSamplerState(
         const D3D11X_SAMPLER_STATE_DESC *pSamplerDesc,
         D3D11X_DESCRIPTOR_SAMPLER_STATE *pDescriptorSamplerState
)  

Parameters

pSamplerDesc
Type: D3D11X_SAMPLER_STATE_DESC *

[in] The sampler state description, as a pointer to a D3D11X_SAMPLER_STATE_DESC structure.

pDescriptorSamplerState
Type: D3D11X_DESCRIPTOR_SAMPLER_STATE *

[out] The binding descriptor for a sampler state, as a pointer to a D3D11X_DESCRIPTOR_SAMPLER_STATE structure.

Return value

Type: HRESULT 

One of the Direct3D 11 return codes.

Requirements

Header: Declared in d3d11_x.h.

Library: Use d3d11_x.lib.

See also

Reference

ID3D11DeviceX Interface

ID3D11DeviceX Members