get_sampler 函数

从给定的加速器视图(表示指定的采样器对象)上获取 D3D 采样器状态接口。

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

参数

  • _Av
    即将创建有关 D3D 采样器状态的 D3D 加速器视图。

  • _Sampler
    已为其创建基础 D3D 采样器状态接口的采样器对象。

返回值

与表示给定采样器的 D3D 采样器状态对应的 IUnknown 接口指针。

要求

**标头:**amp_graphics.h

**命名空间:**concurrency::graphics::direct3d

请参见

参考

Concurrency::graphics::direct3d 命名空间