Render target persistence

For a render target created with render.render_target(), that is not cleared, are the buffers(color,depth,stencil) guaranteed to be persistent between frames? Can the color/depth/stencil be lost in any circumstances?

Yes you can effectively use them as caches. They have to be explicitly cleared.

1 Like