FSubsurfaceProfileTexture

Render thread

Windows
MacOS
Linux

Inheritance Hierarchy

FRenderResource

FSubsurfaceProfileTexture

References

Module

Engine

Header

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

Include

#include "Engine/SubsurfaceProfile.h"

Syntax

class FSubsurfaceProfileTexture : public FRenderResource

Remarks

Render thread

Constructors

Name Description

Public function

FSubsurfaceProfileTexture()

Constructor

Destructors

Name Description

Public function

~FSubsurfaceProfileTexture()

Destructor

Functions

Name Description

Public function

int32

 

AddOrUpdateProfile

(
    const FSubsurfaceProfileStruct Sett...,
    const USubsurfaceProfile* Prof...
)

Convenience, can be optimized

Public function

int32

 

AddProfile

(
    const FSubsurfaceProfileStruct Sett...,
    const USubsurfaceProfile* InPr...
)

O(n) n is a small number

Public function

void

 

Dump()

For debugging, can be removed

Public function Const

int32

 

FindAllocationId

(
    const USubsurfaceProfile* InPr...
)

Public function Const

bool

 

GetEntryString

(
    uint32 Index,
    FString& Out
)

For debugging / VisualizeSSS

Public function

IPooledRende...

 

GetTexture

(
    FRHICommandListImmediate& RHICmdLi...
)

Public function

void

 

RemoveProfile

(
    const USubsurfaceProfile* InPr...
)

O(n) to find the element, n is the SSProfile count and usually quite small.

Public function

void

 

UpdateProfile

(
    const FSubsurfaceProfileStruct Sett...,
    const USubsurfaceProfile* Prof...
)

Public function

void

 

UpdateProfile

(
    int32 AllocationId,
    const FSubsurfaceProfileStruct Sett...
)

Overridden from FRenderResource

Name Description

Public function Virtual

void

 

ReleaseDynamicRHI()

Release textures when device is lost/destroyed.

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