unreal.ComputeKernelSource

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

Bases: unreal.Object

Class representing the source for a UComputeKernel We derive from this for each authoring mechanism. (HLSL text, VPL graph, ML Meta Lang, etc.)

C++ Source:

  • Plugin: ComputeFramework

  • Module: ComputeFramework

  • File: ComputeKernelSource.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.

  • 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.