@ayruos wrote:
I have a class that’s drawing into it’s own FBO.
After drawing a lot of them in my main program, actually after 34 of them, the app on the iPad crashes with
Message from debugger: Terminated due to memory issue
.Which leads me to think it might be better to do something like
class->getFBO()
and get the FBOs out of each, add them together into a main fbo and only draw that. Problem - I have no idea how to go about something like thisThey all have alpha values, the classes are stored in a vector, the only way I can think of doing this is converting them each to ofPixels, looking at them as a layer stack through the vector and keeping the relevant pixels from the top, but that sounds too like it’s not a very reasonable solution (and would be an issue with semi-transparent pixels, anyway) - so a nudge in the right direction would be welcome.
I’m using of_v20190105_ios_release and on a 2018 iPad Pro.
Posts: 4
Participants: 2