Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/SubsurfaceProfile.h |
Include |
#include "Engine/SubsurfaceProfile.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Rendering/SubsurfaceProfile.cpp |
int32 AddProfile
(
const FSubsurfaceProfileStruct Settings,
const USubsurfaceProfile * InProfile
)
O(n) n is a small number
AllocationId -1: no allocation, should be deallocated with DeallocateSubsurfaceProfile()
Parameter |
Description |
---|---|
InProfile |
must not be 0, game thread pointer, do not dereference, only for comparison |