Share via


texture::operator Operator

Returns the element that is at the specified index.

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

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

Parameters

  • _Index
    The index.

  • _I0
    The index.

Return Value

The element that is at the specified index.

Requirements

Header: amp_graphics.h

Namespace: Concurrency::graphics

See Also

Reference

texture Class