Class LightweightForwardPass
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: UnityEngine.Experimental.Rendering.LightweightPipeline
Syntax
public abstract class LightweightForwardPass : ScriptableRenderPass
Constructors
LightweightForwardPass()
Declaration
protected LightweightForwardPass()
Fields
dynamicBatching
Declaration
protected bool dynamicBatching
Field Value
| Type | Description |
|---|---|
| System.Boolean |
rendererConfiguration
Declaration
protected RendererConfiguration rendererConfiguration
Field Value
| Type | Description |
|---|---|
| RendererConfiguration |
Properties
clearColor
Declaration
protected Color clearColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
clearFlag
Declaration
protected ClearFlag clearFlag { get; set; }
Property Value
| Type | Description |
|---|---|
| ClearFlag |
Methods
RenderObjectsWithError(ScriptableRenderer, ref ScriptableRenderContext, ref CullResults, Camera, FilterRenderersSettings, SortFlags)
Declaration
protected void RenderObjectsWithError(ScriptableRenderer renderer, ref ScriptableRenderContext context, ref CullResults cullResults, Camera camera, FilterRenderersSettings filterSettings, SortFlags sortFlags)
Parameters
| Type | Name | Description |
|---|---|---|
| ScriptableRenderer | renderer | |
| ScriptableRenderContext | context | |
| CullResults | cullResults | |
| Camera | camera | |
| FilterRenderersSettings | filterSettings | |
| SortFlags | sortFlags |
SetRenderTarget(CommandBuffer, RenderBufferLoadAction, RenderBufferStoreAction, ClearFlag, Color)
Declaration
protected void SetRenderTarget(CommandBuffer cmd, RenderBufferLoadAction loadOp, RenderBufferStoreAction storeOp, ClearFlag clearFlag, Color clearColor)
Parameters
| Type | Name | Description |
|---|---|---|
| CommandBuffer | cmd | |
| RenderBufferLoadAction | loadOp | |
| RenderBufferStoreAction | storeOp | |
| ClearFlag | clearFlag | |
| Color | clearColor |
Setup(RenderTextureDescriptor, RenderTargetHandle, RenderTargetHandle, ClearFlag, Color, RendererConfiguration, Boolean)
Declaration
public void Setup(RenderTextureDescriptor baseDescriptor, RenderTargetHandle colorAttachmentHandle, RenderTargetHandle depthAttachmentHandle, ClearFlag clearFlag, Color clearColor, RendererConfiguration configuration, bool dynamicbatching)
Parameters
| Type | Name | Description |
|---|---|---|
| RenderTextureDescriptor | baseDescriptor | |
| RenderTargetHandle | colorAttachmentHandle | |
| RenderTargetHandle | depthAttachmentHandle | |
| ClearFlag | clearFlag | |
| Color | clearColor | |
| RendererConfiguration | configuration | |
| System.Boolean | dynamicbatching |