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. |