ClearUAVShader_T

Default implementation of ClearUAVShader_T which simply binds the UAV to the compute shader via RHICmdList.SetUAVParameter.

Windows
MacOS
Linux

References

Module

RenderCore

Header

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

Include

#include "ClearReplacementShaders.h"

Syntax

template<EClearReplacementResourceType ResourceType, EClearReplacementValueType ValueType, uint32 NumChannels, bool bBarriers>
void ClearUAVShader_T
(
    FRHIComputeCommandList & RHICmdList,
    FRHIUnorderedAccessView * UAV,
    uint32 SizeX,
    uint32 SizeY,
    uint32 SizeZ,
    const typename TClearReplacementTypeSelector< ValueType >::Type(&) ClearValues
)

Remarks

Default implementation of ClearUAVShader_T which simply binds the UAV to the compute shader via RHICmdList.SetUAVParameter.

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