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/Source/Components
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
..
ConstantGradientComponent.cpp Change GetValues() to take in const positions. (#6987) 4 years ago
DitherGradientComponent.cpp Change GetValues() to take in const positions. (#6987) 4 years ago
GradientSurfaceDataComponent.cpp Moved GradientSignal component headers to Include directory. 4 years ago
GradientTransformComponent.cpp Moved GradientSignal component headers to Include directory. 4 years ago
ImageGradientComponent.cpp Change GetValues() to take in const positions. (#6987) 4 years ago
InvertGradientComponent.cpp Change GetValues() to take in const positions. (#6987) 4 years ago
LevelsGradientComponent.cpp Change GetValues() to take in const positions. (#6987) 4 years ago
MixedGradientComponent.cpp Change GetValues() to take in const positions. (#6987) 4 years ago
PerlinGradientComponent.cpp Change GetValues() to take in const positions. (#6987) 4 years ago
PosterizeGradientComponent.cpp Change GetValues() to take in const positions. (#6987) 4 years ago
RandomGradientComponent.cpp Change GetValues() to take in const positions. (#6987) 4 years ago
ReferenceGradientComponent.cpp Change GetValues() to take in const positions. (#6987) 4 years ago
ShapeAreaFalloffGradientComponent.cpp Change GetValues() to take in const positions. (#6987) 4 years ago
SmoothStepGradientComponent.cpp Change GetValues() to take in const positions. (#6987) 4 years ago
SurfaceAltitudeGradientComponent.cpp Change GetValues() to take in const positions. (#6987) 4 years ago
SurfaceMaskGradientComponent.cpp Change GetValues() to take in const positions. (#6987) 4 years ago
SurfaceSlopeGradientComponent.cpp Change GetValues() to take in const positions. (#6987) 4 years ago
ThresholdGradientComponent.cpp Change GetValues() to take in const positions. (#6987) 4 years ago