docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method DrawFullScreen

    DrawFullScreen(CommandBuffer, Material, MaterialPropertyBlock, int)

    Draws a full screen triangle.

    Declaration
    public static void DrawFullScreen(CommandBuffer commandBuffer, Material material, MaterialPropertyBlock properties = null, int shaderPassId = 0)
    Parameters
    Type Name Description
    CommandBuffer commandBuffer

    CommandBuffer used for rendering commands.

    Material material

    Material used on the full screen triangle.

    MaterialPropertyBlock properties

    Optional material property block for the provided material.

    int shaderPassId

    Index of the material pass.

    DrawFullScreen(CommandBuffer, Material, RenderTargetIdentifier, MaterialPropertyBlock, int)

    Draws a full screen triangle.

    Declaration
    public static void DrawFullScreen(CommandBuffer commandBuffer, Material material, RenderTargetIdentifier colorBuffer, MaterialPropertyBlock properties = null, int shaderPassId = 0)
    Parameters
    Type Name Description
    CommandBuffer commandBuffer

    CommandBuffer used for rendering commands.

    Material material

    Material used on the full screen triangle.

    RenderTargetIdentifier colorBuffer

    RenderTargetIdentifier of the color buffer that needs to be set before drawing the full screen triangle.

    MaterialPropertyBlock properties

    Optional material property block for the provided material.

    int shaderPassId

    Index of the material pass.

    DrawFullScreen(CommandBuffer, Material, RenderTargetIdentifier, RenderTargetIdentifier, MaterialPropertyBlock, int)

    Draws a full screen triangle.

    Declaration
    public static void DrawFullScreen(CommandBuffer commandBuffer, Material material, RenderTargetIdentifier colorBuffer, RenderTargetIdentifier depthStencilBuffer, MaterialPropertyBlock properties = null, int shaderPassId = 0)
    Parameters
    Type Name Description
    CommandBuffer commandBuffer

    CommandBuffer used for rendering commands.

    Material material

    Material used on the full screen triangle.

    RenderTargetIdentifier colorBuffer

    RenderTargetIdentifier of the color buffer that needs to be set before drawing the full screen triangle.

    RenderTargetIdentifier depthStencilBuffer

    RenderTargetIdentifier of the depth buffer that needs to be set before drawing the full screen triangle.

    MaterialPropertyBlock properties

    Optional material property block for the provided material.

    int shaderPassId

    Index of the material pass.

    DrawFullScreen(CommandBuffer, Material, RenderTargetIdentifier[], RenderTargetIdentifier, MaterialPropertyBlock, int)

    Draws a full screen triangle.

    Declaration
    public static void DrawFullScreen(CommandBuffer commandBuffer, Material material, RenderTargetIdentifier[] colorBuffers, RenderTargetIdentifier depthStencilBuffer, MaterialPropertyBlock properties = null, int shaderPassId = 0)
    Parameters
    Type Name Description
    CommandBuffer commandBuffer

    CommandBuffer used for rendering commands.

    Material material

    Material used on the full screen triangle.

    RenderTargetIdentifier[] colorBuffers

    RenderTargetIdentifier array of the color buffers that needs to be set before drawing the full screen triangle.

    RenderTargetIdentifier depthStencilBuffer

    RenderTargetIdentifier of the depth buffer that needs to be set before drawing the full screen triangle.

    MaterialPropertyBlock properties

    Optional material property block for the provided material.

    int shaderPassId

    Index of the material pass.

    DrawFullScreen(CommandBuffer, Material, RenderTargetIdentifier[], MaterialPropertyBlock, int)

    Draws a full screen triangle.

    Declaration
    public static void DrawFullScreen(CommandBuffer commandBuffer, Material material, RenderTargetIdentifier[] colorBuffers, MaterialPropertyBlock properties = null, int shaderPassId = 0)
    Parameters
    Type Name Description
    CommandBuffer commandBuffer

    CommandBuffer used for rendering commands.

    Material material

    Material used on the full screen triangle.

    RenderTargetIdentifier[] colorBuffers

    RenderTargetIdentifier array of the color buffers that needs to be set before drawing the full screen triangle.

    MaterialPropertyBlock properties

    Optional material property block for the provided material.

    int shaderPassId

    Index of the material pass.

    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 06 October 2023