FComputeShaderUtils::Dispatch

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

Windows
MacOS
Linux

References

Module

RenderCore

Header

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

Include

#include "RenderGraphUtils.h"

Syntax

template<typename TShaderClass>
static void Dispatch
(
    FRHICommandList & RHICmdList,
    const TShaderRef< TShaderClass > & ComputeShader,
    const typename TShaderClass::FParameters & Parameters,
    FIntVector GroupCount
)

Remarks

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

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