texture::set 方法

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

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

参数

  • _Index
    元素的索引。

  • _Rank
    索引的秩。

  • _Value
    元素的新值。

要求

**标头:**amp_graphics.h

**命名空间:**Concurrency::graphics

请参见

参考

texture 类