Compartir a través de


texture_view::operator Operator

Returns the element value by index.

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

Parameters

  • _Index
    The index, possibly multi-dimensional.

  • _I0
    The one-dimensional index.

Return Value

The element value indexed by _Index.

Requirements

Header: amp_graphics.h

Namespace: concurrency::graphics

See Also

Reference

texture_view Class