unreal.PCGAttributeAnalysisKernelBase¶
- class unreal.PCGAttributeAnalysisKernelBase(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
PCGComputeKernelAbstract base for kernels that analyse an input data collection by counting unique values of a string-key or int attribute. The output is an attribute set of (value, count) pairs - either one per input data or one across all data.
Subclasses provide the shader source, entry point, and a kernel-specific data interface. They may also extend the input/output pin set and the validation pipeline by overriding the relevant virtuals below and chaining to Super::.
C++ Source:
Plugin: PCG
Module: PCG
File: PCGAttributeAnalysisKernelBase.h
Editor Properties: (see get_editor_property/set_editor_property)
kernel_flags(int32): [Read-Only] Specifying certain memory access flags allows for optimizations such as kernel fusing.kernel_source(ComputeKernelSource): [Read-Write] The compute kernel source asset. A kernel’s source may be authored by different mechanisms; e.g. HLSL text, VPL graph, ML Meta Lang, etc