rhodonite
    Preparing search index...

    Variable createScreenDrawRenderPassReadonly

    createScreenDrawRenderPass: (engine: Engine, material: Material) => RenderPass

    Type Declaration

      • (engine: Engine, material: Material): RenderPass
      • 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.

        Parameters

        • engine: Engine
        • material: Material

          The material to be used for rendering. Should contain appropriate shaders for screen-space operations.

        Returns RenderPass

        A configured RenderPass instance ready for full-screen rendering operations.

        const material = new Material();
        const renderPass = RenderPassHelper.createScreenDrawRenderPass(material);