docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CreateViewer

    CreateViewer(int, int, bool, GraphicsContext, int)

    Create a new viewer

    Declaration
    public int CreateViewer(int width, int height, bool deferred = true, GraphicsContext sharedContext = null, int nbViews = 1)
    Parameters
    Type Name Description
    int width

    Width of the viewer framebuffer

    int height

    Height of the viewer framebuffer

    bool deferred

    Deferred render mode

    GraphicsContext sharedContext

    Interop context handle

    int nbViews

    Nb views

    Returns
    Type Description
    int
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)