diff --git a/sources/PPU/Background.hpp b/sources/PPU/Background.hpp index c5b1147..358c271 100644 --- a/sources/PPU/Background.hpp +++ b/sources/PPU/Background.hpp @@ -102,6 +102,13 @@ namespace ComSquare::PPU //! @brief Add a bg buffer to another buffer + //! @tparam levelLow The priority of a low priority pixel (working like z-index CSS property) + //! @tparam levelHigh The priority of a high priority pixel (working like z-index CSS property) + //! @tparam DEST_SIZE_X The Horizontal array size + //! @tparam DEST_SIZE_Y The Vertical array size + //! @param bufferDest The destination buffer (buffer that will be written on) + //! @param pixelDestinationLevelMap The destination buffer level map to use as reference and will be updated if a pixel has an higher level than the actual one + //! @param backgroundSrc The Background to use as a source template static void mergeBackgroundBuffer(std::array, DEST_SIZE_X> &bufferDest, std::array, DEST_SIZE_X> &pixelDestinationLevelMap,