Share via


texture_view::operator= Operator

Assigns a view of the same texture as the specified texture_view to this texture_view instance.

texture_view<_Value_type, _Rank>& operator=(        // [1] copy constructor
   const texture_view<_Value_type, _Rank>& _Other
) restrict(amp, cpu);

texture_view<const _Value_type, _Rank>& operator=(  // [2] copy constructor
   const texture_view<_Value_type, _Rank>& _Other
) restrict(cpu);

texture_view<const _Value_type, _Rank>& operator=(  // [3] copy constructor
   const texture_view<const _Value_type, _Rank>& _Other
) restrict(amp, cpu);

Parameters

  • _Other

    • [1, 2] Copy Constructor
      A writable texture_view object.

    • [3] Copy Constructor
      A non-writable texture_view object.

Return Value

A reference to this texture_view instance.

Requirements

Header: amp_graphics.h

Namespace: concurrency::graphics

See Also

Reference

texture_view Class