FComputeShaderUtils::DispatchIndirect

Dispatch a compute shader to rhi command list with its parameters and indirect args.

Windows
MacOS
Linux

References

Module

RenderCore

Header

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

Include

#include "RenderGraphUtils.h"

Syntax

template<typename TShaderClass>
static void DispatchIndirect
(
    FRHICommandList & RHICmdList,
    const TShaderClass * ComputeShader,
    const typename TShaderClass::FParameters & Parameters,
    FRDGBufferRef IndirectArgsBuffer,
    uint32 IndirectArgOffset
)

Remarks

Dispatch a compute shader to rhi command list with its parameters and indirect args.

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