共用方式為


texture::set Method

Sets the value of the element at the specified index.

void set(
   const index<_Rank>& _Index,
   const value_type& _Value
) restrict(amp);

Parameters

  • _Index
    The index of the element.

  • _Rank
    The rank of the index.

  • _Value
    The new value of the element.

Requirements

Header: amp_graphics.h

Namespace: Concurrency::graphics

See Also

Reference

texture Class