IOptimusComputeKernelProvider::CreateComputeKernel

Return an [UOptimusKernelSource](API\Plugins\OptimusCore\UOptimusKernelSource) object, from a compute kernel node state that implements this interface.

Choose your operating system:

Windows

macOS

Linux

References

Module

OptimusDeveloper

Header

/Engine/Plugins/Experimental/Optimus/Source/OptimusDeveloper/Public/IOptimusComputeKernelProvider.h

Include

#include "IOptimusComputeKernelProvider.h"

Syntax

UOptimusKernelSource * CreateComputeKernel
(
    UObject * InKernelSourceOuter,
    const FOptimusPinTraversalContext & InTraversalContext,
    const FOptimus_NodeToDataInterfaceMap & InNodeDataInterfaceMap,
    const FOptimus_PinToDataInterfaceMap & InLinkDataInterfaceMap,
    const TSet< const UOptimusNode * > & InValueNodeSet,
    FOptimus_KernelParameterBindingList & OutParameterBindings,
    FOptimus_InterfaceBindingMap & OutInputDataBindings,
    FOptimus_InterfaceBindingMap & OutOutputDataBindings
) const

Remarks

Return an UOptimusKernelSource object, from a compute kernel node state that implements this interface.

Parameters

Parameter

Description

InKernelSourceOuter

The outer object that will own the new kernel source.

InNodeDataInterfaceMap

InLinkDataInterfaceMap

InValueNodeSet

OutParameterBindings

OutInputDataBindings

OutOutputDataBindings