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

19 lines
519 B
C#

using System;
namespace UnityEngine.Rendering.UnifiedRayTracing
{
internal interface IRayTracingBackend
{
IRayTracingShader CreateRayTracingShader(
Object shader,
string kernelName,
GraphicsBuffer dispatchBuffer);
IRayTracingAccelStruct CreateAccelerationStructure(
AccelerationStructureOptions options,
ReferenceCounter counter);
ulong GetRequiredTraceScratchBufferSizeInBytes(uint width, uint height, uint depth);
}
}