Initial commit

This commit is contained in:
2026-03-03 00:39:30 +05:00
commit fc01f07d9b
29933 changed files with 5353098 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
using UnityEngine.Rendering;
namespace UnityEditor.Rendering
{
class STPResourceStripper : IRenderPipelineGraphicsSettingsStripper<STP.RuntimeResources>
{
public bool active => true;
public bool CanRemoveSettings(STP.RuntimeResources resources)
{
bool isStpUsed = false;
foreach (var asset in CoreBuildData.instance.renderPipelineAssets)
{
if (asset is ISTPEnabledRenderPipeline stpEnabledAsset)
isStpUsed |= stpEnabledAsset.isStpUsed;
}
// We can strip STP's resources if it's not used by any pipeline assets
return !isStpUsed;
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: bfeff5aa9f408a948abd4150880fc5eb