共用方式為


texture::operator[] 運算子

傳回位在指定索引的元素。

const value_type operator[] (
   const index<_Rank>& _Index
) const restrict(amp);

const value_type operator[] (
   int _I0
) const restrict(amp);

參數

  • _Index
    索引。

  • _I0
    索引。

傳回值

位於指定之索引位置的項目。

需求

標頭: amp_graphics.h

命名空間: Concurrency::graphics

請參閱

參考

texture 類別