共用方式為


texture::get 方法

回傳指定索引值的元素的值。

const value_type get(
   const index<_Rank>& _Index
) const restrict(amp);

參數

  • _Index
    項目的索引。

傳回值

在指定索引處的元素值。

需求

標頭: amp_graphics.h

命名空間: Concurrency::graphics

請參閱

參考

texture 類別