I2DDirectRenderPassΒΆ

interface I2DDirectRenderPass : IRenderPass, Protogame.IRenderPassWithViewport

A render pass in which graphics rendering is configured for an orthographic view. When this render pass is active, the X and Y positions of entities map directly to the X and Y positions of the game window, with (0, 0) being located in the top-left.

During this render pass, rendering operations are performed immediately on the rendering target. To batch multiple texture render calls, use an T:Protogame.I2DBatchedRenderPass instead or in addition to this render pass.