27 lines
501 B
C#
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; }
|
|
}
|
|
|
|
}
|
|
|
|
|