docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method BlitTexture2D

    BlitTexture2D(CommandBuffer, RTHandle, Vector4, float, bool)

    Blit a RTHandle texture 2D.

    Declaration
    public static void BlitTexture2D(CommandBuffer cmd, RTHandle source, Vector4 scaleBias, float mipLevel, bool bilinear)
    Parameters
    Type Name Description
    CommandBuffer cmd

    Command Buffer used for rendering.

    RTHandle source

    Source RTHandle.

    Vector4 scaleBias

    Scale and bias for sampling the input texture.

    float mipLevel

    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)