Partilhar via


Operador texture_view::operator[]

Retorna o valor do elemento por índice.

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);

Parâmetros

  • _Index
    O índice, possivelmente multidimensional.

  • _I0
    O índice unidimensional.

Valor de retorno

O valor do elemento indexado por _Index.

Requisitos

Cabeçalho: amp_graphics.h

Namespace: concurrency::graphics

Consulte também

Referência

Classe texture_view