共用方式為


texture::operator() Operator

Returns the element value that is specified by the parameters.

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

Parameters

  • _Index
    The index.

  • _I0
    The most-significant component of the index.

  • _I1
    The next-to-most-significant component of the index.

  • _I2
    The least-significant component of the index.

  • _Rank
    The rank of the index.

Return Value

The element value that is specified by the parameters.

Requirements

Header: amp_graphics.h

Namespace: Concurrency::graphics

See Also

Reference

texture Class