Udostępnij za pośrednictwem


texture_view::operator — Operator

Zwraca wartość elementu według indeksu.

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

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

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

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

Parametry

  • _Index
    Indeks, prawdopodobnie wielowymiarowy.

  • _I0
    Indeks jednowymiarowy.

Wartość zwracana

Wartość elementu indeksowana przez _Index.

Wymagania

Nagłówek: amp_graphics.h

Przestrzeń nazw: concurrency::graphics

Zobacz też

Informacje

texture_view — Klasa