IRHICommandContext::RHISetUAVParameter

Sets a compute shader counted UAV parameter and initial count

Windows
MacOS
Linux

Override Hierarchy

References

Module

RHI

Header

/Engine/Source/Runtime/RHI/Public/RHIContext.h

Include

#include "RHIContext.h"

Syntax

void RHISetUAVParameter
(
    FRHIComputeShader * ComputeShader,
    uint32 UAVIndex,
    FRHIUnorderedAccessView * UAV,
    uint32 InitialCount
)

Remarks

Sets a compute shader counted UAV parameter and initial count

Parameters

Parameter

Description

ComputeShader

The compute shader to set the UAV for.

UAVIndex

The index of the UAVIndex.

UAV

The new UAV.

InitialCount

The initial number of items in the UAV.

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