Class LightweightForwardRenderer
Inheritance
System.Object
LightweightForwardRenderer
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 class LightweightForwardRenderer
Constructors
LightweightForwardRenderer(LightweightPipelineAsset)
Declaration
public LightweightForwardRenderer(LightweightPipelineAsset pipelineAsset)
Parameters
Properties
maxSupportedLocalLightsPerPass
Declaration
public int maxSupportedLocalLightsPerPass { get; }
Property Value
Type |
Description |
System.Int32 |
|
maxSupportedVertexLights
Declaration
public int maxSupportedVertexLights { get; }
Property Value
Type |
Description |
System.Int32 |
|
maxVisibleLocalLights
Declaration
public int maxVisibleLocalLights { get; }
Property Value
Type |
Description |
System.Int32 |
|
opaqueFilterSettings
Declaration
public FilterRenderersSettings opaqueFilterSettings { get; }
Property Value
Type |
Description |
FilterRenderersSettings |
|
perObjectLightIndices
Declaration
public ComputeBuffer perObjectLightIndices { get; }
Property Value
Type |
Description |
ComputeBuffer |
|
postProcessRenderContext
Declaration
public PostProcessRenderContext postProcessRenderContext { get; }
Property Value
Type |
Description |
PostProcessRenderContext |
|
transparentFilterSettings
Declaration
public FilterRenderersSettings transparentFilterSettings { get; }
Property Value
Type |
Description |
FilterRenderersSettings |
|
useComputeBufferForPerObjectLightIndices
Declaration
public bool useComputeBufferForPerObjectLightIndices { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
CreateRTDesc(ref CameraData, Single)
Declaration
public RenderTextureDescriptor CreateRTDesc(ref CameraData cameraData, float scaler = 1F)
Parameters
Type |
Name |
Description |
CameraData |
cameraData |
|
System.Single |
scaler |
|
Returns
Type |
Description |
RenderTextureDescriptor |
|
Dispose()
Declaration
Execute(ref ScriptableRenderContext, ref CullResults, ref RenderingData)
Declaration
public void Execute(ref ScriptableRenderContext context, ref CullResults cullResults, ref RenderingData renderingData)
Parameters
Type |
Name |
Description |
ScriptableRenderContext |
context |
|
CullResults |
cullResults |
|
RenderingData |
renderingData |
|
GetMaterial(MaterialHandles)
Declaration
public Material GetMaterial(MaterialHandles handle)
Parameters
Returns
Type |
Description |
Material |
|
GetSurface(Int32)
Declaration
public RenderTargetIdentifier GetSurface(int handle)
Parameters
Type |
Name |
Description |
System.Int32 |
handle |
|
Returns
Type |
Description |
RenderTargetIdentifier |
|
Setup(ref ScriptableRenderContext, ref CullResults, ref RenderingData)
Declaration
public void Setup(ref ScriptableRenderContext context, ref CullResults cullResults, ref RenderingData renderingData)
Parameters
Type |
Name |
Description |
ScriptableRenderContext |
context |
|
CullResults |
cullResults |
|
RenderingData |
renderingData |
|