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 79431f5e5f
First batch of GetValues() overrides (#6852)
* Benchmarks and tests for Image and Constant GetValues

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

* Verify GetValues for Perlin and Random Gradients

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

* Standardized the assert format for GetValues().

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

* More GetValues unit tests and test cleanup

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

* Fixed typos

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

* GetValues() unit tests for surface gradients.

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

* Benchmarks for ShapeAreaFalloff Gradient

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

* Added benchmarks for all remaining gradients and cleaned up the helper methods.

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

* Renamed class for better report formatting.

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

* Added missing Mocks dependencies for the Editor tests.

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

* First batch of specific GetValues() overrides.
Each one is measurably faster than the generic version.  Also, in ShapeAreaFalloffGradient, I optimized and simplified the logic a bit, so GetValue() is marginally faster too.

Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com>
4 years ago
..
ConstantGradientComponent.cpp First batch of GetValues() overrides (#6852) 4 years ago
DitherGradientComponent.cpp Moved GradientSignal component headers to Include directory. 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 First batch of GetValues() overrides (#6852) 4 years ago
InvertGradientComponent.cpp Moved GradientSignal component headers to Include directory. 4 years ago
LevelsGradientComponent.cpp Moved GradientSignal component headers to Include directory. 4 years ago
MixedGradientComponent.cpp Moved GradientSignal component headers to Include directory. 4 years ago
PerlinGradientComponent.cpp First batch of GetValues() overrides (#6852) 4 years ago
PosterizeGradientComponent.cpp Moved GradientSignal component headers to Include directory. 4 years ago
RandomGradientComponent.cpp First batch of GetValues() overrides (#6852) 4 years ago
ReferenceGradientComponent.cpp Moved GradientSignal component headers to Include directory. 4 years ago
ShapeAreaFalloffGradientComponent.cpp First batch of GetValues() overrides (#6852) 4 years ago
SmoothStepGradientComponent.cpp Moved GradientSignal component headers to Include directory. 4 years ago
SurfaceAltitudeGradientComponent.cpp Moved GradientSignal component headers to Include directory. 4 years ago
SurfaceMaskGradientComponent.cpp Moved GradientSignal component headers to Include directory. 4 years ago
SurfaceSlopeGradientComponent.cpp Moved GradientSignal component headers to Include directory. 4 years ago
ThresholdGradientComponent.cpp Moved GradientSignal component headers to Include directory. 4 years ago