Поделиться через


Оператор texture_view::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);

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

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

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

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

Параметры

  • _Index
    Индекс, возможно многомерный.

  • _I0
    Наиболее значимый компонент индекса.

  • _I1
    Второй наиболее значимый компонент индекса.

  • _I2
    Наименьший значимый компонент индекса.

Возвращаемое значение

Значение элемента, индексируемое _Index.

Требования

Заголовок: amp_graphics.h

Пространство имен: concurrency::graphics

См. также

Ссылки

Класс texture_view