Files
UnrealEngine/Engine/Plugins/Animation/DeformerGraph/Shaders/Private/DataInterfaceCopyKernel.ush
2025-05-18 13:04:45 +08:00

20 lines
485 B
HLSL

// Copyright Epic Games, Inc. All Rights Reserved.
uint3 {DataInterfaceName}_NumThreads;
uint {DataInterfaceName}_NumThreadsPerInvocation;
uint {DataInterfaceName}_ThreadIndexOffset;
uint3 ReadNumThreads_{DataInterfaceName}()
{
return {DataInterfaceName}_NumThreads;
}
uint ReadNumThreadsPerInvocation_{DataInterfaceName}()
{
return {DataInterfaceName}_NumThreadsPerInvocation;
}
uint ReadThreadIndexOffset_{DataInterfaceName}()
{
return {DataInterfaceName}_ThreadIndexOffset;
}