UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
GPUSkinPublicDefs.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3/*=============================================================================
4 GPUSkinPublicDefs.h: Public definitions for GPU skinning.
5=============================================================================*/
6
7#pragma once
8
9#include "CoreMinimal.h"
10
12#define MAX_TOTAL_INFLUENCES 12
13
15#define EXTRA_BONE_INFLUENCES 8
16
18#define MAX_INFLUENCES_PER_STREAM 4
19
21#define MAX_APEXCLOTH_VERTICES_FOR_UB 2048
23#define MAX_APEXCLOTH_VERTICES_FOR_VB 65536
24
26{
33 {
34 // The index of the rigid influence in the uint8[4] of influences for a skinned vertex, accounting for byte-swapping.
35#if PLATFORM_LITTLE_ENDIAN
36 return 0;
37#else
38 return 3;
39#endif
40 }
41}
42
43// Number of frames buffered
44#define GPUSKINCACHE_FRAMES 3
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
Definition GPUSkinPublicDefs.h:26
int32 GetRigidInfluenceIndex()
Definition GPUSkinPublicDefs.h:32