docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ShadowRTNeedsReAlloc

    ShadowRTNeedsReAlloc(RTHandle, int, int, int, int, float, string)

    Return true if handle does not match the requirements

    Declaration
    public static bool ShadowRTNeedsReAlloc(RTHandle handle, int width, int height, int bits, int anisoLevel, float mipMapBias, string name)
    Parameters
    Type Name Description
    RTHandle handle

    RTHandle to check (can be null).

    int width

    Width of the RTHandle to match.

    int height

    Height of the RTHandle to match.

    int bits

    Depth bits of the RTHandle to match.

    int anisoLevel

    Anisotropic filtering level of the RTHandle to match.

    float mipMapBias

    Bias applied to mipmaps during filtering of the RTHandle to match.

    string name

    Name of the RTHandle of the RTHandle to match.

    Returns
    Type Description
    bool

    If the RTHandle needs to be re-allocated

    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)