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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback