Class BaseShaderPreprocessor
Inheritance
BaseShaderPreprocessor
Syntax
public abstract class BaseShaderPreprocessor
Constructors
BaseShaderPreprocessor()
Declaration
public BaseShaderPreprocessor()
Fields
m_AlphaTestOn
Declaration
protected ShaderKeyword m_AlphaTestOn
Field Value
Type |
Description |
ShaderKeyword |
|
m_ClusterLighting
Declaration
protected ShaderKeyword m_ClusterLighting
Field Value
Type |
Description |
ShaderKeyword |
|
m_DebugDisplay
Declaration
protected ShaderKeyword m_DebugDisplay
Field Value
Type |
Description |
ShaderKeyword |
|
m_Decals3RT
Declaration
protected ShaderKeyword m_Decals3RT
Field Value
Type |
Description |
ShaderKeyword |
|
m_Decals4RT
Declaration
protected ShaderKeyword m_Decals4RT
Field Value
Type |
Description |
ShaderKeyword |
|
m_DecalsOFF
Declaration
protected ShaderKeyword m_DecalsOFF
Field Value
Type |
Description |
ShaderKeyword |
|
m_LightLayers
Declaration
protected ShaderKeyword m_LightLayers
Field Value
Type |
Description |
ShaderKeyword |
|
m_LodFadeCrossFade
Declaration
protected ShaderKeyword m_LodFadeCrossFade
Field Value
Type |
Description |
ShaderKeyword |
|
m_ShadowHigh
Declaration
protected ShaderKeyword m_ShadowHigh
Field Value
Type |
Description |
ShaderKeyword |
|
m_ShadowLow
Declaration
protected ShaderKeyword m_ShadowLow
Field Value
Type |
Description |
ShaderKeyword |
|
m_ShadowMedium
Declaration
protected ShaderKeyword m_ShadowMedium
Field Value
Type |
Description |
ShaderKeyword |
|
m_ShadowVariants
Declaration
protected Dictionary<HDShadowFilteringQuality, ShaderKeyword> m_ShadowVariants
Field Value
Type |
Description |
Dictionary<HDShadowFilteringQuality, ShaderKeyword> |
|
m_SubsurfaceScattering
Declaration
protected ShaderKeyword m_SubsurfaceScattering
Field Value
Type |
Description |
ShaderKeyword |
|
m_TileLighting
Declaration
protected ShaderKeyword m_TileLighting
Field Value
Type |
Description |
ShaderKeyword |
|
m_Transparent
Declaration
protected ShaderKeyword m_Transparent
Field Value
Type |
Description |
ShaderKeyword |
|
m_WriteMSAADepth
Declaration
protected ShaderKeyword m_WriteMSAADepth
Field Value
Type |
Description |
ShaderKeyword |
|
m_WriteNormalBuffer
Declaration
protected ShaderKeyword m_WriteNormalBuffer
Field Value
Type |
Description |
ShaderKeyword |
|
Properties
Priority
Declaration
public virtual int Priority { get; }
Property Value
Methods
Declaration
protected abstract bool DoShadersStripper(HDRenderPipelineAsset hdrpAsset, Shader shader, ShaderSnippetData snippet, ShaderCompilerData inputData)
Parameters
Type |
Name |
Description |
HDRenderPipelineAsset |
hdrpAsset |
|
Shader |
shader |
|
ShaderSnippetData |
snippet |
|
ShaderCompilerData |
inputData |
|
Returns
IsMaterialQualityVariantStripped(HDRenderPipelineAsset, ShaderCompilerData)
Declaration
protected static bool IsMaterialQualityVariantStripped(HDRenderPipelineAsset hdrpAsset, ShaderCompilerData inputData)
Parameters
Returns
Declaration
public bool ShadersStripper(HDRenderPipelineAsset hdrpAsset, Shader shader, ShaderSnippetData snippet, ShaderCompilerData inputData)
Parameters
Type |
Name |
Description |
HDRenderPipelineAsset |
hdrpAsset |
|
Shader |
shader |
|
ShaderSnippetData |
snippet |
|
ShaderCompilerData |
inputData |
|
Returns