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

    Class Renderer

    Basic renderer to draw scene in texture

    Inheritance
    System.Object
    Renderer
    Namespace: UnityEditor.Rendering.LookDev
    Syntax
    public class Renderer

    Constructors

    Renderer(Boolean)

    Declaration
    public Renderer(bool pixelPerfect = false)
    Parameters
    Type Name Description
    System.Boolean pixelPerfect

    Properties

    pixelPerfect

    Declaration
    public bool pixelPerfect { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    Acquire(RenderingData, RenderingPass)

    Capture image of the scene.

    Declaration
    public void Acquire(RenderingData data, RenderingPass pass = RenderingPass.First | RenderingPass.Last)
    Parameters
    Type Name Description
    RenderingData data

    Datas required to compute the capture

    RenderingPass pass

    [Optional] When drawing several time the scene, you can remove First and/or Last to not initialize objects. Be careful though to always start your frame with a First and always end with a Last.

    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