.. index:: pair: struct; EE::Graphics::Image::DiffResult .. _doxid-struct_e_e_1_1_graphics_1_1_image_1_1_diff_result: struct EE::Graphics::Image::DiffResult ====================================== .. toctree:: :hidden: Overview ~~~~~~~~ .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct DiffResult { // fields :ref:`Image`* :ref:`diffImage` { nullptr }; long long :ref:`numDifferentPixels` { 0 }; double :ref:`maxDeltaE` { 0.0 }; // construction :target:`~DiffResult`(); // methods bool :target:`areSame`() const; }; .. _details-struct_e_e_1_1_graphics_1_1_image_1_1_diff_result: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Fields ------ .. index:: pair: variable; diffImage .. _doxid-struct_e_e_1_1_graphics_1_1_image_1_1_diff_result_1a97681cf79f52f8531984e4df1c14cc96: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`Image`* diffImage { nullptr } The visual diff image. Null if dimensions mismatched. .. index:: pair: variable; numDifferentPixels .. _doxid-struct_e_e_1_1_graphics_1_1_image_1_1_diff_result_1a0914d799cefc27dc15cc775f898f0cd3: .. ref-code-block:: cpp :class: doxyrest-title-code-block long long numDifferentPixels { 0 } The number of pixels that exceeded the threshold. .. index:: pair: variable; maxDeltaE .. _doxid-struct_e_e_1_1_graphics_1_1_image_1_1_diff_result_1a9f416a0f1158eefafae1c990c952faba: .. ref-code-block:: cpp :class: doxyrest-title-code-block double maxDeltaE { 0.0 } The maximum perceptual difference (Delta E) found.