I cannot seem to figure out exactly how this works. It doesn’t appear to work as described in the docs; i.e., the rectangle that I provide doesn’t appear to match the section of screen that is invalidated.
Also, is there a method to simply mark the entire texture as invalid? Notes on this:
- ‘markAsDirty’ does not seem to work
- ‘invalidateRect’ with invalid params seems to work, but is this proper?