intial commit

This commit is contained in:
Caleb Sandford deQuincey
2025-06-27 23:27:49 +01:00
commit ecdd3e2a9e
31269 changed files with 4937644 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using UnityEngine.Experimental.Rendering;
namespace UnityEngine.Rendering
{
/// <summary>
/// Utility class to connect SRP to automated test framework.
/// </summary>
public static class RenderGraphGraphicsAutomatedTests
{
// RenderGraph tests can be enabled from the command line. Cache result to avoid GC.
static bool activatedFromCommandLine
{
#if RENDER_GRAPH_REUSE_TESTS_STANDALONE
get => true;
#else
get => Array.Exists(Environment.GetCommandLineArgs(), arg => arg == "-render-graph-reuse-tests");
#endif
}
/// <summary>
/// Used by render pipelines to initialize RenderGraph tests.
/// </summary>
public static bool enabled { get; } = activatedFromCommandLine;
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: f97d26789369242d4a39fdf71bb9e045
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: