Share via


sampler::operator= Operator

Assigns the value of another sampler object to an existing sampler.

sampler& operator=(        // [1] copy assignment operator
   const sampler& _Other
) restrict(amp, cpu);

sampler& operator=(        // [2] move assingment operator
   sampler&& _Other
) restrict(amp, cpu);

Parameters

  • _Other

    • [1] Copy Assignment Operator
      The sampler object to copy into this sampler.

    • [2] Move Assignment Operator
      The sampler object to move into this sampler.

Return Value

A reference to this sampler instance.

Requirements

Header: amp_graphics.h

Namespace: concurrency::graphics

See Also

Reference

sampler Class