m_IBLFilterGGX = new IBLFilterGGX ( asset . renderPipelineResources ) ;
m_LightLoop . Build ( asset . renderPipelineResources , asset . tile Settings, asset . globalTextureSettings , asset . shadowInitParams , m_ShadowSettings , m_IBLFilterGGX ) ;
m_LightLoop . Build ( asset . renderPipelineResources , asset . lightLoop Settings, asset . globalTextureSettings , asset . shadowInitParams , m_ShadowSettings , m_IBLFilterGGX ) ;
m_SkyManager . Build ( asset . renderPipelineResources , m_IBLFilterGGX ) ;
m_SkyManager . skySettings = skySettingsToUse ;
DebugMenuManager . instance . AddDebugItem < bool > ( "HDRP" , "Deferred Depth Prepass" , ( ) = > m_Asset . globalRenderingSettings . useDepthPrepassWithDeferredRendering , ( value ) = > m_Asset . globalRenderingSettings . useDepthPrepassWithDeferredRendering = ( bool ) value , DebugItemFlag . RuntimeOnly ) ;
DebugMenuManager . instance . AddDebugItem < bool > ( "HDRP" , "Deferred Depth Prepass ATest Only" , ( ) = > m_Asset . globalRenderingSettings . renderAlphaTestOnlyInDeferredPrepass , ( value ) = > m_Asset . globalRenderingSettings . renderAlphaTestOnlyInDeferredPrepass = ( bool ) value , DebugItemFlag . RuntimeOnly ) ;
DebugMenuManager . instance . AddDebugItem < bool > ( "HDRP" , "Enable Tile/Cluster" , ( ) = > m_Asset . tile Settings. enableTileAndCluster , ( value ) = > m_Asset . tile Settings. enableTileAndCluster = ( bool ) value , DebugItemFlag . RuntimeOnly ) ;
DebugMenuManager . instance . AddDebugItem < bool > ( "HDRP" , "Enable Big Tile" , ( ) = > m_Asset . tile Settings. enableBigTilePrepass , ( value ) = > m_Asset . tile Settings. enableBigTilePrepass = ( bool ) value , DebugItemFlag . RuntimeOnly ) ;
DebugMenuManager . instance . AddDebugItem < bool > ( "HDRP" , "Enable Compute Lighting" , ( ) = > m_Asset . tile Settings. enableComputeLightEvaluation , ( value ) = > m_Asset . tile Settings. enableComputeLightEvaluation = ( bool ) value , DebugItemFlag . RuntimeOnly ) ;
DebugMenuManager . instance . AddDebugItem < bool > ( "HDRP" , "Enable Light Classification" , ( ) = > m_Asset . tile Settings. enableComputeLightVariants , ( value ) = > m_Asset . tile Settings. enableComputeLightVariants = ( bool ) value , DebugItemFlag . RuntimeOnly ) ;
DebugMenuManager . instance . AddDebugItem < bool > ( "HDRP" , "Enable Material Classification" , ( ) = > m_Asset . tile Settings. enableComputeMaterialVariants , ( value ) = > m_Asset . tile Settings. enableComputeMaterialVariants = ( bool ) value , DebugItemFlag . RuntimeOnly ) ;
DebugMenuManager . instance . AddDebugItem < bool > ( "HDRP" , "Enable Async Compute" , ( ) = > m_Asset . tile Settings. enableAsyncCompute , ( value ) = > m_Asset . tile Settings. enableAsyncCompute = ( bool ) value , DebugItemFlag . RuntimeOnly ) ;
DebugMenuManager . instance . AddDebugItem < bool > ( "HDRP" , "Enable Tile/Cluster" , ( ) = > m_Asset . lightLoop Settings. enableTileAndCluster , ( value ) = > m_Asset . lightLoop Settings. enableTileAndCluster = ( bool ) value , DebugItemFlag . RuntimeOnly ) ;
DebugMenuManager . instance . AddDebugItem < bool > ( "HDRP" , "Enable Big Tile" , ( ) = > m_Asset . lightLoop Settings. enableBigTilePrepass , ( value ) = > m_Asset . lightLoop Settings. enableBigTilePrepass = ( bool ) value , DebugItemFlag . RuntimeOnly ) ;
DebugMenuManager . instance . AddDebugItem < bool > ( "HDRP" , "Enable Compute Lighting" , ( ) = > m_Asset . lightLoop Settings. enableComputeLightEvaluation , ( value ) = > m_Asset . lightLoop Settings. enableComputeLightEvaluation = ( bool ) value , DebugItemFlag . RuntimeOnly ) ;
DebugMenuManager . instance . AddDebugItem < bool > ( "HDRP" , "Enable Light Classification" , ( ) = > m_Asset . lightLoop Settings. enableComputeLightVariants , ( value ) = > m_Asset . lightLoop Settings. enableComputeLightVariants = ( bool ) value , DebugItemFlag . RuntimeOnly ) ;
DebugMenuManager . instance . AddDebugItem < bool > ( "HDRP" , "Enable Material Classification" , ( ) = > m_Asset . lightLoop Settings. enableComputeMaterialVariants , ( value ) = > m_Asset . lightLoop Settings. enableComputeMaterialVariants = ( bool ) value , DebugItemFlag . RuntimeOnly ) ;
DebugMenuManager . instance . AddDebugItem < bool > ( "HDRP" , "Enable Async Compute" , ( ) = > m_Asset . lightLoop Settings. enableAsyncCompute , ( value ) = > m_Asset . lightLoop Settings. enableAsyncCompute = ( bool ) value , DebugItemFlag . RuntimeOnly ) ;
}
void InitializeDebugMaterials ( )