Set a medium-sized saucepan over low to medium heat. Add all the ingredients into the pan and give everything a good stir to ensure they are evenly combined.
Allow the mixture to gradually warm up, stirring occasionally to prevent it from sticking or burning at the bottom.
As the raspberries break down, you’ll notice the mixture turning into a smooth, liquid consistency. Let it cook for a few additional minutes, stirring frequently, to allow the mixture to thicken.
When the filling reaches the desired consistency, remove the saucepan from the heat. Carefully transfer the filling to a heat-resistant bowl or container. Let it cool to room temperature completely before using it as needed. (Refer to note 1 if applicable.)