Exemplo n.º 1
0
 protected override void Clone(RenderPipelineGlobalSettings src, bool activateAsset)
 {
     HDAssetFactory.HDRenderPipelineGlobalSettingsCreator.Clone(src as HDRenderPipelineGlobalSettings, assignToActiveAsset: activateAsset);
 }
 protected override void Clone(RenderPipelineGlobalSettings src, bool activateAsset)
 {
     UniversalGlobalSettingsCreator.Clone(src as UniversalRenderPipelineGlobalSettings, activateAsset: activateAsset);
 }
Exemplo n.º 3
0
        static public RenderPipelineGlobalSettings GetSettingsForRenderPipeline <T>() where T : RenderPipeline
        {
            RenderPipelineGlobalSettings settings = GetSettingsForRenderPipeline(typeof(T).FullName) as RenderPipelineGlobalSettings;

            return(settings);
        }
 /// <summary>
 /// Clones the <see cref="RenderPipelineGlobalSettings"/> asset
 /// </summary>
 /// <param name="src">The <see cref="RenderPipelineGlobalSettings"/> to clone.</param>
 /// <param name="activateAsset">if the asset should be shown on the inspector.</param>
 protected abstract void Clone(RenderPipelineGlobalSettings src, bool activateAsset);
Exemplo n.º 5
0
 static public void RegisterRenderPipelineSettings <T>(RenderPipelineGlobalSettings settings) where T : RenderPipeline
 {
     RegisterRenderPipeline(typeof(T).FullName, settings);
 }