Right now the generated code just arbitrarily clears the back buffer at the beginning of a new frame, which is not great for a variety of reasons. Also there is no mechanism for clearing other render targets which is even more not great.
I'm thinking of changing this so that pipeline definitions just declare which inputs need clearing and to what color, and the clears are issued as late as possible.
Right now the generated code just arbitrarily clears the back buffer at the beginning of a new frame, which is not great for a variety of reasons. Also there is no mechanism for clearing other render targets which is even more not great.
I'm thinking of changing this so that pipeline definitions just declare which inputs need clearing and to what color, and the clears are issued as late as possible.