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

    Class CompositorContext

    Inheritance
    System.Object
    CompositorContext
    Namespace: Unity.UIWidgets.flow
    Syntax
    public class CompositorContext

    Constructors

    CompositorContext()

    Declaration
    public CompositorContext()

    Methods

    acquireFrame(Canvas, Boolean)

    Declaration
    public CompositorContext.ScopedFrame acquireFrame(Canvas canvas, bool instrumentationEnabled)
    Parameters
    Type Name Description
    Canvas canvas
    System.Boolean instrumentationEnabled
    Returns
    Type Description
    CompositorContext.ScopedFrame

    frameTime()

    Declaration
    public Stopwatch frameTime()
    Returns
    Type Description
    Stopwatch

    onGrContextCreated(Surface)

    Declaration
    public void onGrContextCreated(Surface surface)
    Parameters
    Type Name Description
    Surface surface

    onGrContextDestroyed()

    Declaration
    public void onGrContextDestroyed()

    rasterCache()

    Declaration
    public RasterCache rasterCache()
    Returns
    Type Description
    RasterCache
    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