2026-04-19 02:38:48 +08:00
|
|
|
using XCEngine;
|
|
|
|
|
|
|
|
|
|
namespace XCEngine.Rendering
|
|
|
|
|
{
|
|
|
|
|
public abstract class ScriptableRenderPipelineAsset : RenderPipelineAsset
|
|
|
|
|
{
|
|
|
|
|
protected ScriptableRenderPipelineAsset()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-19 05:03:56 +08:00
|
|
|
protected virtual ScriptableRenderPipeline CreatePipeline()
|
2026-04-19 02:38:48 +08:00
|
|
|
{
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-19 05:03:56 +08:00
|
|
|
protected virtual void ConfigureCameraRenderRequest(
|
2026-04-19 15:20:34 +08:00
|
|
|
CameraRenderRequestContext context)
|
2026-04-19 02:38:48 +08:00
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-19 05:03:56 +08:00
|
|
|
protected virtual FinalColorSettings GetDefaultFinalColorSettings()
|
2026-04-19 02:38:48 +08:00
|
|
|
{
|
|
|
|
|
return FinalColorSettings.CreateDefault();
|
|
|
|
|
}
|
2026-04-19 23:32:41 +08:00
|
|
|
|
|
|
|
|
protected virtual string GetPipelineRendererAssetKey()
|
|
|
|
|
{
|
|
|
|
|
return string.Empty;
|
|
|
|
|
}
|
2026-04-19 02:38:48 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|