共用方式為


texture::set 方法

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

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

參數

  • _Index
    項目的索引。

  • _Value
    項目的新值。

需求

標頭: amp_graphics.h

命名空間: Concurrency::graphics

請參閱

參考

texture 類別