Share via


make_sampler Function

Create a sampler from a D3D sampler state interface pointer.

sampler make_sampler(
   _In_ IUnknown *_D3D_sampler
) restrict(amp);

Parameters

  • _D3D_sampler
    IUnknown interface pointer of the D3D sampler state to create the sampler from.

Return Value

A sampler represents the provided D3D sampler state.

Requirements

Header: amp_graphics.h

Namespace: concurrency::graphics::direct3d

See Also

Reference

Concurrency::graphics::direct3d Namespace