This commit is contained in:
2024-09-20 20:30:10 +02:00
commit 4fabf1a6fd
29169 changed files with 1706941 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
namespace UnityEngine.Rendering
{
/// <summary>
/// Volumetric Cloud
/// Interface for CloudBackground on each SRP
/// </summary>
public interface ICloudBackground
{
/// <summary>
/// Check is the current Render Pipeline had CloudBackground
/// </summary>
/// <returns>true if the CloudBackground is usable on the current pipeline</returns>
public bool IsCloudBackgroundUsable();
}
}

View File

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

View File

@@ -0,0 +1,34 @@
namespace UnityEngine.Rendering
{
/// <summary>
/// Specifies the logging level for shader variants
/// </summary>
public enum ShaderVariantLogLevel
{
/// <summary>Disable all log for Shader Variant</summary>
[Tooltip("No shader variants are logged")]
Disabled,
/// <summary>Only logs SRP Shaders when logging Shader Variant</summary>
[Tooltip("Only shaders that are compatible with SRPs (e.g., URP, HDRP) are logged")]
OnlySRPShaders,
/// <summary>Logs all Shader Variant</summary>
[Tooltip("All shader variants are logged")]
AllShaders,
}
/// <summary>
/// Exposes settings for shader variants
/// </summary>
public interface IShaderVariantSettings
{
/// <summary>
/// Specifies the level of the logging for shader variants
/// </summary>
ShaderVariantLogLevel shaderVariantLogLevel { get; set; }
/// <summary>
/// Specifies if the stripping of the shaders variants needs to be exported
/// </summary>
bool exportShaderVariants { get; set; }
}
}

View File

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

View File

@@ -0,0 +1,16 @@
namespace UnityEngine.Rendering
{
/// <summary>
/// Volumetric Cloud
/// Interface for VolumetricCloud on each SRP
/// </summary>
public interface IVolumetricCloud
{
/// <summary>
/// Check is the current Render Pipeline had VolumetricCloud
/// </summary>
/// <returns>true if the VolumetricCloud is usable on the current pipeline</returns>
public bool IsVolumetricCloudUsable();
}
}

View File

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

View File

@@ -0,0 +1,15 @@
namespace UnityEngine.Rendering
{
/// <summary>
/// Base of resources assets in SRP
/// </summary>
public abstract class RenderPipelineResources : ScriptableObject
{
/// <summary>
/// Utility to add Reload All button at the end of your asset inspector.
/// It will provide your package path that you misu override in child class.
/// </summary>
protected virtual string packagePath => null;
internal string packagePath_Internal => packagePath;
}
}

View File

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