Share via


get_sampler Function

Get the D3D sampler state interface on the given accelerator view that represents the specified sampler object.

IUnknown * get_sampler(
   const Concurrency::accelerator_view &_Av,
   const sampler &_Sampler
) restrict(amp);

Parameters

  • _Av
    A D3D accelerator view on which the D3D sampler state is to be created.

  • _Sampler
    A sampler object for which the underlying D3D sampler state interface is created.

Return Value

The IUnknown interface pointer corresponding to the D3D sampler state that represents the given sampler.

Requirements

Header: amp_graphics.h

Namespace: concurrency::graphics::direct3d

See Also

Reference

Concurrency::graphics::direct3d Namespace