unreal.ComputeKernelFromText

class unreal.ComputeKernelFromText(outer=None, name='None')

Bases: unreal.ComputeKernelSource

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

C++ Source:

  • Plugin: ComputeFramework

  • Module: ComputeFramework

  • File: ComputeKernelFromText.h

Editor Properties: (see get_editor_property/set_editor_property)

  • definitions_set (ComputeKernelDefinitionsSet): [Read-Only] Definitions Set: Base environment defines for kernel compilation. These will be extended by further defines declared in any linked data providers.

  • entry_point_name (str): [Read-Only] Entry Point Name: Kernel entry point.

  • external_inputs (Array(ShaderFunctionDefinition)): [Read-Only] External Inputs: Named external inputs for the kernel. These must be fulfilled by linked data providers.

  • external_outputs (Array(ShaderFunctionDefinition)): [Read-Only] External Outputs: Named external outputs for the kernel. These must be fulfilled by linked data providers.

  • input_params (Array(ShaderParamTypeDefinition)): [Read-Only] Input Params: Named input parameters for the kernel.

  • permutation_set (ComputeKernelPermutationSet): [Read-Only] Permutation Set: Base permutations exposed by the kernel. These will be extended by further permutations declared in any linked data providers.

  • source_file (FilePath): [Read-Write] Source File: Filepath to the source file containing the kernel entry points and all options for parsing.