Navigation
API > API/Plugins > API/Plugins/ComputeFramework
Base class representing a kernel that will be run as a shader on the GPU.
| Name | UComputeKernel |
| Type | class |
| Header File | /Engine/Plugins/Runtime/ComputeFramework/Source/ComputeFramework/Public/ComputeFramework/ComputeKernel.h |
| Include Path | #include "ComputeFramework/ComputeKernel.h" |
Syntax
UCLASS (MinimalAPI, HideCategories=(Object))
class UComputeKernel : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UComputeKernel
Derived Classes
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| KernelFlags | int32 | Specifying certain memory access flags allows for optimizations such as kernel fusing. | ComputeFramework/ComputeKernel.h |
|
| KernelSource | TObjectPtr< UComputeKernelSource > | The compute kernel source asset. | ComputeFramework/ComputeKernel.h |
|
Functions
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void PostLoad() |
ComputeFramework/ComputeKernel.h |