C2D_DrawRectangle set compositing OR "ClearRectangle" analog
Posted: Sat May 29, 2021 1:10 am
I want to preface that I've spent over a dozen hours over the last few days pouring over the devkitpro examples, the Citro2d and Citro3D source code, a bit of libctru, it's been a nightmare. And I get that there's probably nobody here in this forum anymore, that's fine. But I still want to try.
I'm hoping this is simple: I need to change the vertex compositing/whatever you want to call it to full overwrite rather than blending for a couple rectangles. I basically need to just clear out a rectangle (or any other shape for that matter) from a texture, but it appears to only be additive blending, so a full transparent vertex draw yields... well, nothing of course.
I have the source code, but I'm tired of posting into the void. I'll get the proper github commit and all that set up if this post ever makes it through. I also have what I think are several bug reports, or at least gaps in documentation if they're "not bugs".
I'm hoping this is simple: I need to change the vertex compositing/whatever you want to call it to full overwrite rather than blending for a couple rectangles. I basically need to just clear out a rectangle (or any other shape for that matter) from a texture, but it appears to only be additive blending, so a full transparent vertex draw yields... well, nothing of course.
I have the source code, but I'm tired of posting into the void. I'll get the proper github commit and all that set up if this post ever makes it through. I also have what I think are several bug reports, or at least gaps in documentation if they're "not bugs".