If you mean to reset it to all transparent pixels, indeed there is no built-in method to do it. Either create a fresh new PGraphics (the simplest) or load pixels, set them to 0 (java.util.Arrays.fill() can help, if not targeting JS) and update pixels.
Leave a comment on PhiLho's reply
Change topic type
Link this topic
Provide the permalink of a topic that is related to this topic