texture::operator() 运算符

返回指定的参数的元素值。

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

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

const value_type operator() (int _I0, int _I1) const restrict(amp);

const value_type operator() (int _I0, int _I1, int _I2) const restrict(amp);

参数

  • _Index
    索引。

  • _I0
    索引的最高有效的组件。

  • _I1
    下一步-到-最高有效索引的组件。

  • _I2
    索引的最低有效的组件。

  • _Rank
    索引数组的秩。

返回值

参数指定该元素值。

要求

标题: amp_graphics.h

命名空间: Concurrency::graphics

请参见

参考

texture 类