public:
HRESULT ComposeSamplerState(
const D3D11X_SAMPLER_STATE_DESC *pSamplerDesc,
D3D11X_DESCRIPTOR_SAMPLER_STATE *pDescriptorSamplerState
)
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.
Type: HRESULT
One of the Direct3D 11 return codes.
Header: Declared in d3d11_x.h.
Library: Use d3d11_x.lib.