Share via


writeonly_texture_view::set 方法

設定在指定索引處的元素的值。

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

參數

  • _Index
    項目的索引。

  • _Value
    項目的新值。

需求

標頭: amp_graphics.h

命名空間: Concurrency::graphics

請參閱

參考

writeonly_texture_view 類別