UComputeKernel

Base class representing a kernel that will be run as a shader on the GPU.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

ComputeFramework

Header

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

Include

#include "ComputeFramework/ComputeKernel.h"

Syntax

UCLASS(HideCategories=(Object))
class UComputeKernel : public UObject

Remarks

Base class representing a kernel that will be run as a shader on the GPU.

Variables

Name Description

Public variable UProperty Category, EditDefaultsOnly, Meta

FComputeKernelD...

 

DefinitionsSetOverrides

Shader compilation environment overrides on the kernel.

Public variable UProperty Category, Meta BlueprintReadOnly visibleanywhere

int32

 

KernelFlags

Specifying certain memory access flags allows for optimizations such as kernel fusing.

Public variable UProperty Category, EditAnywhere, Meta assetregistrysearchable

TObjectPtr< UCo...

 

KernelSource

The compute kernel source asset.

Public variable UProperty Category, EditDefaultsOnly, Meta

FComputeKernelP...

 

PermutationSetOverrides

Permutation overrides on the kernel.

Overridden from UObject

Name Description

Protected function Virtual

void

 

PostEditChangeChainProperty

(
    FPropertyChangedChainEvent& Proper...
)

This alternate version of PostEditChange is called when properties inside structs are modified.

Protected function Virtual

void

 

PostLoad()

Do any object-specific cleanup required immediately after loading an object.