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

    Class GrSurface

    Inheritance
    System.Object
    GrSurface
    Namespace: Unity.UIWidgets.editor
    Syntax
    public class GrSurface : IDisposable

    Constructors

    GrSurface(Size, Single, Int32, MeshPool)

    Declaration
    public GrSurface(Size size, float devicePixelRatio, int antiAliasing, MeshPool meshPool)
    Parameters
    Type Name Description
    Size size
    System.Single devicePixelRatio
    System.Int32 antiAliasing
    MeshPool meshPool

    Fields

    antiAliasing

    Declaration
    public readonly int antiAliasing
    Field Value
    Type Description
    System.Int32

    devicePixelRatio

    Declaration
    public readonly float devicePixelRatio
    Field Value
    Type Description
    System.Single

    size

    Declaration
    public readonly Size size
    Field Value
    Type Description
    Size

    Methods

    Dispose()

    Declaration
    public void Dispose()

    getCanvas()

    Declaration
    public Canvas getCanvas()
    Returns
    Type Description
    Canvas

    getRenderTexture()

    Declaration
    public RenderTexture getRenderTexture()
    Returns
    Type Description
    RenderTexture
    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