/Engine/Source/Runtime/RenderCore/Public/GenerateMips.h
(SM5+) Generate mips for the requested RDG texture using the compute pass conditionally. if( uint(ConditionBuffer[Offset]) > 0) Execute(...)
static void ExecuteCompute ( [FRDGBuilder](API\Runtime\RenderCore\FRDGBuilder) & GraphBuilder, [ERHIFeatureLevel::Type](API\Runtime\RHI\ERHIFeatureLevel__Type) FeatureLevel, FRDGTextureRef Texture, [FRHISamplerState](API\Runtime\RHI\FRHISamplerState) * Sampler, FRDGBufferRef ConditionBuffer, uint32 Offset )