Class PictureFlusher | UIWidgets | 1.5.4-preview.12
docs.unity3d.com
    Show / Hide Table of Contents

    Class PictureFlusher

    Inheritance
    Object
    PictureFlusher
    Namespace: Unity.UIWidgets.ui
    Syntax
    public class PictureFlusher

    Constructors

    PictureFlusher(RenderTexture, Single, MeshPool)

    Declaration
    public PictureFlusher(RenderTexture renderTexture, float devicePixelRatio, MeshPool meshPool)
    Parameters
    Type Name Description
    RenderTexture renderTexture
    Single devicePixelRatio
    MeshPool meshPool

    Fields

    COMPUTE_BUFFER_MAX_ITEM_NUM

    Declaration
    public const int COMPUTE_BUFFER_MAX_ITEM_NUM = 1048576
    Field Value
    Type Description
    Int32

    Methods

    dispose()

    Declaration
    public void dispose()

    flush(uiPicture)

    Declaration
    public void flush(uiPicture picture)
    Parameters
    Type Name Description
    uiPicture picture

    getDevicePixelRatio()

    Declaration
    public float getDevicePixelRatio()
    Returns
    Type Description
    Single
    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