C# Class UnityEngine.Rendering.LWRP.LightWeightUnlitSubShader

Inheritance: IUnlitSubShader
Show file Open project: crl/lwrp

Public Methods

Method Description
GetSubshader ( IMasterNode masterNode, GenerationMode mode, List sourceAssetDependencyPaths = null ) : string
IsPipelineCompatible ( RenderPipelineAsset renderPipelineAsset ) : bool

Private Methods

Method Description
GetShaderPassFromTemplate ( string template, UnlitMasterNode masterNode, Pass pass, GenerationMode mode, SurfaceMaterialOptions materialOptions ) : string
GetTemplatePath ( string templateName ) : string

Method Details

GetSubshader() public method

public GetSubshader ( IMasterNode masterNode, GenerationMode mode, List sourceAssetDependencyPaths = null ) : string
masterNode IMasterNode
mode GenerationMode
sourceAssetDependencyPaths List
return string

IsPipelineCompatible() public method

public IsPipelineCompatible ( RenderPipelineAsset renderPipelineAsset ) : bool
renderPipelineAsset RenderPipelineAsset
return bool