Class LightweightForwardPass
Inheritance
System.Object
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()
Syntax
public abstract class LightweightForwardPass : ScriptableRenderPass
Constructors
LightweightForwardPass(Material)
Declaration
protected LightweightForwardPass(Material errorMaterial)
Parameters
| Type |
Name |
Description |
| Material |
errorMaterial |
|
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
clearFlag
Declaration
protected ClearFlag clearFlag { get; set; }
Property Value
| Type |
Description |
| ClearFlag |
|
Methods
Declaration
protected void RenderObjectsWithError(ref ScriptableRenderContext context, ref CullResults cullResults, Camera camera, FilterRenderersSettings filterSettings, SortFlags sortFlags)
Parameters
| Type |
Name |
Description |
| 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 |
|