Module |
|
Header |
/Engine/Source/Runtime/RenderCore/Public/RayTracingInstanceCopyShader.h |
Include |
#include "RayTracingInstanceCopyShader.h" |
void CopyRayTracingGPUInstances
(
FRHICommandList & RHICmdList,
uint32 InstancesCount,
int32 DescBufferOffset,
FRHIShaderResourceView * TransformsSRV,
FRHIUnorderedAccessView * InstancesDescUAV,
TFunctionRef< void *, const FShaderResourceParameter &, const FShaderResourceParameter &, bool)> ResourceBindCallback
)
CS can be dispatched from inside low level RHIs via FRHICommandList_RecursiveHazardous. ResourceBindCallback is provided to allow the RHI to override how the UAV resource is bound to the underlying platform context.