docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetColorEncodingForGamut

    GetColorEncodingForGamut(ColorGamut, out int)

    Extracts the encoding part of the ColorGamut

    Declaration
    public static bool GetColorEncodingForGamut(ColorGamut gamut, out int encoding)
    Parameters
    Type Name Description
    ColorGamut gamut

    Color gamut (a combination of color space and encoding) queried from the device.

    int encoding

    The HDREncoding value the color gamut contains as an int.

    Returns
    Type Description
    bool

    Returns true if there was a valid HDREncoding for the ColorGamut, false otherwise

    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)