EComputeKernelCompilationFlags

Compute Kernel compilation flags.

Choose your operating system:

Windows

macOS

Linux

References

Module

ComputeFramework

Header

/Engine/Plugins/Experimental/ComputeFramework/Source/ComputeFramework/Public/ComputeFramework/ComputeGraph.h

Include

#include "ComputeFramework/ComputeGraph.h"

Syntax

enum EComputeKernelCompilationFlags
{
    None                                   = 0,
    Force                                  = 1 << 0,
    Synchronous                            = 1 << 1,
    ApplyCompletedShaderMapForRendering    = 1 << 2,
    IsCooking                              = 1 << 3,
}

Values

Name

Description

None

Force

Force recompilation even if kernel is not dirty and/or DDC data is available.

Synchronous

Compile the shader while blocking the main thread.

ApplyCompletedShaderMapForRendering

Replaces all instances of the shader with the newly compiled version.

IsCooking

Remarks

Compute Kernel compilation flags.