FSubsurfaceProfileTexture::AddProfile

O(n) n is a small number

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/SubsurfaceProfile.h

Include

#include "Engine/SubsurfaceProfile.h"

Source

/Engine/Source/Runtime/Engine/Private/Rendering/SubsurfaceProfile.cpp

Syntax

int32 AddProfile
(
    const FSubsurfaceProfileStruct Settings,
    const USubsurfaceProfile * InProfile
)

Remarks

O(n) n is a small number

Returns

AllocationId -1: no allocation, should be deallocated with DeallocateSubsurfaceProfile()

Parameters

Parameter

Description

InProfile

must not be 0, game thread pointer, do not dereference, only for comparison

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss