19 lines
519 B
C#
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);
|
|
}
|
|
}
|