docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method BlitQuad

    BlitQuad(CommandBuffer, Texture, Vector4, Vector4, int, bool)

    Blit a texture using a quad in the current render target.

    Declaration
    public static void BlitQuad(CommandBuffer cmd, Texture source, Vector4 scaleBiasTex, Vector4 scaleBiasRT, int mipLevelTex, bool bilinear)
    Parameters
    Type Name Description
    CommandBuffer cmd

    Command buffer used for rendering.

    Texture source

    Source texture.

    Vector4 scaleBiasTex

    Scale and bias for the input texture.

    Vector4 scaleBiasRT

    Scale and bias for the output texture.

    int mipLevelTex

    Mip level to blit.

    bool bilinear

    Enable bilinear filtering.

    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)