将另一个采样对象的值分配给现有的采样器。
sampler& operator=( // [1] copy assignment operator
const sampler& _Other
) restrict(amp, cpu);
sampler& operator=( // [2] move assingment operator
sampler&& _Other
) restrict(amp, cpu);
参数
_Other
[1] 复制赋值运算符
要复制到 sampler 的 sampler 对象。[2] 移动赋值运算符
要移动到 sampler 的 sampler 对象。
返回值
对此采样器实例的引用。
要求
**标头:**amp_graphics.h
**命名空间:**concurrency::graphics