docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method AllocShadowRT

    AllocShadowRT(int, int, int, int, float, string)

    Allocate a Shadow Map

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

    Width of the Shadow Map.

    int height

    Height of the Shadow Map.

    int bits

    Minimum depth bits of the Shadow Map.

    int anisoLevel

    Anisotropic filtering level of the Shadow Map.

    float mipMapBias

    Bias applied to mipmaps during filtering of the Shadow Map.

    string name

    Name of the Shadow Map.

    Returns
    Type Description
    RTHandle

    If an RTHandle for the Shadow Map

    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)