docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetColorSpaceForGamut

    GetColorSpaceForGamut(ColorGamut, out int)

    Extracts the color space part of the ColorGamut

    Declaration
    public static bool GetColorSpaceForGamut(ColorGamut gamut, out int colorspace)
    Parameters
    Type Name Description
    ColorGamut gamut

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

    int colorspace

    The HDRColorspace value the color gamut contains as an int.

    Returns
    Type Description
    bool

    Returns true if there was a valid HDRColorspace 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)