CopyRayTracingGPUInstances

CS can be dispatched from inside low level RHIs via [FRHICommandList_RecursiveHazardous](API\Runtime\RHI\FRHICommandList_RecursiveHazardo-).

Windows
MacOS
Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/RayTracingInstanceCopyShader.h

Include

#include "RayTracingInstanceCopyShader.h"

Syntax

void CopyRayTracingGPUInstances
(
    FRHICommandList & RHICmdList,
    uint32 InstancesCount,
    int32 DescBufferOffset,
    FRHIShaderResourceView * TransformsSRV,
    FRHIUnorderedAccessView * InstancesDescUAV,
    TFunctionRef< void *, const FShaderResourceParameter &, const FShaderResourceParameter &, bool)> ResourceBindCallback
)

Remarks

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss