UnityGame/Library/PackageCache/com.unity.rendering.light-transport/Runtime/UnifiedRayTracing/UnifiedRayTracingException.cs
2024-10-27 10:53:47 +03:00

27 lines
501 B
C#

using System;
namespace UnityEngine.Rendering.UnifiedRayTracing
{
internal enum UnifiedRayTracingError
{
Unknown,
OutOfGraphicsBufferMemory,
}
internal class UnifiedRayTracingException : Exception
{
public UnifiedRayTracingException(string message, UnifiedRayTracingError errorCode)
: base(message)
{
this.errorCode = errorCode;
}
public UnifiedRayTracingError errorCode { get; private set; }
}
}