Command Lists Framebuffer & States


i have started adopting the command list sample:

I was wondering if I could enque framebuffer operations as well.

Especially fbo switching and clearing should go directly into “updateCommandListStateMinimal”.
However that does not seem to work yet, or does it?

I would like to blast my Stereo/VR setup through the new command pipeline.

Best Regards

You can switch fbos by providing different fbo values in the fbo array of the commandlist. However you’d need to do clears in advance.

Generally speaking there is no need to do everything with just one commandlist draw, as long as you have not that many, and there is a lot of work being done with each api call, you will be fine.