texture_view::set 方法

将指定索引处的元素值设置为指定值。

void set(
   const index<_Rank>& _Index,
   const value_type& _Value
) const restrict(amp);

参数

  • _Index
    设置元素的索引,可能是多维的。

  • _Value
    要将元素设置成...值。

要求

**标头:**amp_graphics.h

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

请参见

参考

texture_view 类