[ Web Proxy ]
URL:
Viewing: https://docs.unity3d.com/ScriptReference/PlayerSettings.SetGraphicsAPIs.html [Back]  [Original]

Unity - Scripting API: PlayerSettings.SetGraphicsAPIs
Version: Unity 6.5 (6000.5)
    • Supported
    • Legacy
    LanguageEnglish
    • C#

    PlayerSettings.SetGraphicsAPIs

    Suggest a change

    Success!

    Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

    Close

    Submission failed

    For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

    Close
    Your name Your email Suggestion* Submit suggestion

    Cancel

    Switch to Manual

    Declaration

    public static void SetGraphicsAPIs(BuildTarget platform, GraphicsDeviceType[] apis);

    Parameters

    Parameter Description
    platform Platform to set APIs for.
    apis Array of graphics APIs.

    Description

    Sets the graphics APIs used on a build platform.

    By default each platform is using "automatic" graphics API detection and picks the best available one (see SetUseDefaultGraphicsAPIs). However it is possible to change that to explicitly limit the graphics APIs used. The passed APIs will be tried in the order they are given, and first available one will be used.

    Additional resources: GetGraphicsAPIs, SetUseDefaultGraphicsAPIs, GetUseDefaultGraphicsAPIs.


    Web Proxy Viewer  |  New URL  |  Original Page