devkitPro / citro3d

Homebrew PICA200 GPU wrapper library for Nintendo 3DS
zlib License
244 stars 34 forks source link

is C3D_FrameBufTransfer a blit operation ? #62

Open SeleDreams opened 1 year ago

SeleDreams commented 1 year ago

Hi, I am posting because i was working on porting godot 4 to the 3ds and godot 4 works via render lists that are then blit on the appropriate windows at the end of a frame. the concept works, but i am not too sure about where to go about it on citro3d, i imagine that each godot rendertarget would use a C3D_RenderTarget or a C3D_FrameBuf, however, i am not too sure about how i am supposed to blit all of them to the screen's framebuf at the end. I don't see any examples of this type of stuff

i checked c3d's source and noticed that in frameend, c3d_framebuftransfer is used, i'm wondering if it is what i would need