UComputeKernelFromText

Class responsible for loading HLSL text and parsing the options available.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

ComputeFramework

Header

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

Include

#include "ComputeFramework/ComputeKernelFromText.h"

Syntax

UCLASS(BlueprintType)
class UComputeKernelFromText : public UComputeKernelSource

Remarks

Class responsible for loading HLSL text and parsing the options available.

Variables

Name Description

Public variable UProperty Category assetregistrysearchable, visibleanywhere

FString

 

EntryPointName

Kernel entry point.

Public variable UProperty Category, EditDefaultsOnly, Meta assetregistrysearchable

FFilePath

 

SourceFile

Filepath to the source file containing the kernel entry points and all options for parsing.

Public variable UProperty

uint64

 

SourceHash

Stored hash for the kernel source.

Public variable UProperty

FGuid

 

UniqueId

A unique id for the asset.

Constructors

Name Description

Public function

UComputeKernelFromText()

Functions

Name Description

Public function

void

 

ReparseKernelSourceText()

Parse the kernel source to get the kernel external functions and other data.

Overridden from UComputeKernelSource

Name Description

Protected function Virtual Const

FString

 

GetEntryPoint()

Get kernel entry point name.

Protected function Virtual Const

FString

 

GetSource()

Get kernel source code.

Protected function Virtual Const

uint64

 

GetSourceCodeHash()

Get a hash of the kernel source code.

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.

Protected function Virtual

void

 

PreEditChange

(
    FEditPropertyChain& PropertyAboutT...
)

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