docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ConfigureTarget

    ConfigureTarget(RTHandle, RTHandle)

    Configures render targets for this render pass. Call this instead of CommandBuffer.SetRenderTarget. This method should be called inside Configure.

    Declaration
    public void ConfigureTarget(RTHandle colorAttachment, RTHandle depthAttachment)
    Parameters
    Type Name Description
    RTHandle colorAttachment

    Color attachment handle.

    RTHandle depthAttachment

    Depth attachment handle.

    See Also
    Configure(CommandBuffer, RenderTextureDescriptor)

    ConfigureTarget(RTHandle[], RTHandle)

    Configures render targets for this render pass. Call this instead of CommandBuffer.SetRenderTarget. This method should be called inside Configure.

    Declaration
    public void ConfigureTarget(RTHandle[] colorAttachments, RTHandle depthAttachment)
    Parameters
    Type Name Description
    RTHandle[] colorAttachments

    Color attachment handle.

    RTHandle depthAttachment

    Depth attachment handle.

    See Also
    Configure(CommandBuffer, RenderTextureDescriptor)

    ConfigureTarget(RTHandle)

    Configures render targets for this render pass. Call this instead of CommandBuffer.SetRenderTarget. This method should be called inside Configure.

    Declaration
    public void ConfigureTarget(RTHandle colorAttachment)
    Parameters
    Type Name Description
    RTHandle colorAttachment

    Color attachment handle.

    See Also
    Configure(CommandBuffer, RenderTextureDescriptor)

    ConfigureTarget(RTHandle[])

    Configures render targets for this render pass. Call this instead of CommandBuffer.SetRenderTarget. This method should be called inside Configure.

    Declaration
    public void ConfigureTarget(RTHandle[] colorAttachments)
    Parameters
    Type Name Description
    RTHandle[] colorAttachments

    Color attachment handle.

    See Also
    Configure(CommandBuffer, RenderTextureDescriptor)
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)