Readonly
Creates a RenderPass optimized for full-screen rendering without depth testing. This render pass is configured to skip color and depth buffer clearing, disable depth testing, and use buffer-less full-screen rendering for optimal performance.
The material to be used for rendering. Should contain appropriate shaders for screen-space operations.
A configured RenderPass instance ready for full-screen rendering operations.
const material = new Material();const renderPass = RenderPassHelper.createScreenDrawRenderPass(material); Copy
const material = new Material();const renderPass = RenderPassHelper.createScreenDrawRenderPass(material);
Creates a RenderPass optimized for full-screen rendering without depth testing. This render pass is configured to skip color and depth buffer clearing, disable depth testing, and use buffer-less full-screen rendering for optimal performance.