docs.unity3d.com
    Show / Hide Table of Contents

    Class WebRTC

    Inheritance
    Object
    WebRTC
    Namespace: Unity.WebRTC
    Syntax
    public static class WebRTC

    Methods

    Dispose()

    Declaration
    public static void Dispose()

    ExecutePendingTasks(Int32)

    Executes any pending tasks generated asynchronously during the WebRTC runtime.

    Declaration
    public static bool ExecutePendingTasks(int millisecondTimeout)
    Parameters
    Type Name Description
    Int32 millisecondTimeout

    The amount of time in milliseconds that the task queue can take before task execution will cease.

    Returns
    Type Description
    Boolean

    true if all pending tasks were completed within milliseconds and false otherwise.

    GetSupportedGraphicsFormat(GraphicsDeviceType)

    Declaration
    public static GraphicsFormat GetSupportedGraphicsFormat(GraphicsDeviceType type)
    Parameters
    Type Name Description
    GraphicsDeviceType type
    Returns
    Type Description
    GraphicsFormat

    GetSupportedRenderTextureFormat(GraphicsDeviceType)

    Declaration
    public static RenderTextureFormat GetSupportedRenderTextureFormat(GraphicsDeviceType type)
    Parameters
    Type Name Description
    GraphicsDeviceType type
    Returns
    Type Description
    RenderTextureFormat

    GetSupportedTextureFormat(GraphicsDeviceType)

    Declaration
    public static TextureFormat GetSupportedTextureFormat(GraphicsDeviceType type)
    Parameters
    Type Name Description
    GraphicsDeviceType type
    Returns
    Type Description
    TextureFormat

    Initialize(Boolean, Boolean, NativeLoggingSeverity)

    Declaration
    public static void Initialize(bool limitTextureSize = true, bool enableNativeLog = false, NativeLoggingSeverity nativeLoggingSeverity = NativeLoggingSeverity.Info)
    Parameters
    Type Name Description
    Boolean limitTextureSize
    Boolean enableNativeLog
    NativeLoggingSeverity nativeLoggingSeverity

    Update()

    Declaration
    public static IEnumerator Update()
    Returns
    Type Description
    IEnumerator

    ValidateGraphicsFormat(GraphicsFormat)

    Declaration
    public static void ValidateGraphicsFormat(GraphicsFormat format)
    Parameters
    Type Name Description
    GraphicsFormat format
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023