unreal.ComputeKernel
¶
- class unreal.ComputeKernel(outer=None, name='None')¶
Bases:
unreal.Object
Base class representing a kernel that will be run as a shader on the GPU.
C++ Source:
Plugin: ComputeFramework
Module: ComputeFramework
File: ComputeKernel.h
Editor Properties: (see get_editor_property/set_editor_property)
definitions_set_overrides
(ComputeKernelDefinitionsSet): [Read-Write] Definitions Set Overrides: Shader compilation environment overrides on the kernel.kernel_flags
(int32): [Read-Only] Kernel Flags: Specifying certain memory access flags allows for optimizations such as kernel fusing.kernel_source
(ComputeKernelSource): [Read-Write] Kernel Source: * The compute kernel source asset. * A kernel’s source may be authored by different mechanisms; e.g. HLSL text, VPL graph, ML Meta Lang, etcpermutation_set_overrides
(ComputeKernelPermutationSet): [Read-Write] Permutation Set Overrides: Permutation overrides on the kernel.
- property kernel_flags¶
[Read-Only] Kernel Flags: Specifying certain memory access flags allows for optimizations such as kernel fusing.
- Type
(int32)