Class WindowSurfaceImpl | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class WindowSurfaceImpl

    Inheritance
    System.Object
    WindowSurfaceImpl
    Namespace: Unity.UIWidgets.editor
    Syntax
    public class WindowSurfaceImpl : Surface, IDisposable

    Constructors

    WindowSurfaceImpl(WindowSurfaceImpl.DrawToTargetFunc)

    Declaration
    public WindowSurfaceImpl(WindowSurfaceImpl.DrawToTargetFunc drawToTargetFunc = null)
    Parameters
    Type Name Description
    WindowSurfaceImpl.DrawToTargetFunc drawToTargetFunc

    Methods

    _presentSurface(Canvas)

    Declaration
    protected bool _presentSurface(Canvas canvas)
    Parameters
    Type Name Description
    Canvas canvas
    Returns
    Type Description
    System.Boolean

    acquireFrame(Size, Single, Int32)

    Declaration
    public SurfaceFrame acquireFrame(Size size, float devicePixelRatio, int antiAliasing)
    Parameters
    Type Name Description
    Size size
    System.Single devicePixelRatio
    System.Int32 antiAliasing
    Returns
    Type Description
    SurfaceFrame
    Implements
    Surface.acquireFrame(Size, Single, Int32)

    Dispose()

    Declaration
    public void Dispose()

    getMeshPool()

    Declaration
    public MeshPool getMeshPool()
    Returns
    Type Description
    MeshPool
    Implements
    Surface.getMeshPool()
    Back to top
    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