You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Gems/GradientSignal/Code/Include/GradientSignal
Mike Balfour 83878e6377
Change GetValues() to take in const positions. (#6987)
* Change GetValues() to take in const positions.
To support this, span needed some template deductions to correctly convert from non-const containers to const ones.

Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com>

* Removed the most problematic template deduction rules.

Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com>

* Remove duplicate validate_iterator methods.
iterator type is a pointer, not a value, so "const iterator" and "const const_iterator" produce the same function signature.

Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com>

* Fixed the span types.

Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com>
4 years ago
..
Components Change GetValues() to take in const positions. (#6987) 4 years ago
Ebuses Change GetValues() to take in const positions. (#6987) 4 years ago
Editor Gems/GradientSignal 5 years ago
GradientImageConversion.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
GradientSampler.h Change GetValues() to take in const positions. (#6987) 4 years ago
GradientTransform.h Change gradients to use cached GradientTransform instance (#6591) 4 years ago
ImageAsset.h Add benchmarks to GradientSignal. (#6616) 4 years ago
ImageSettings.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
PerlinImprovedNoise.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
SmoothStep.h Another batch of GetValues() overrides. (#6915) 4 years ago
Util.h More GetValues() overrides (#6896) 4 years ago