FDistanceFieldVolumeTextureAtlas

Global volume texture atlas that collects all static mesh resource distance fields.

Windows
MacOS
Linux

Inheritance Hierarchy

FRenderResource

FDistanceFieldVolumeTextureAtlas

Syntax

class FDistanceFieldVolumeTextureAtlas : public FRenderResource

Remarks

Global volume texture atlas that collects all static mesh resource distance fields.

Variables

Name Description

Public variable

EPixelFormat

 

Format

Public variable

FTexture3DRHIRe...

 

VolumeTextureRHI

Constructors

Functions

Name Description

Public function

void

 

AddAllocation

(
    FDistanceFieldVolumeTexture* T...
)

Add an allocation to the atlas.

Public function Const

int32

 

GetGeneration()

Public function Const

FString

 

GetSizeString()

Public function Const

int32

 

GetSizeX()

Public function Const

int32

 

GetSizeY()

Public function Const

int32

 

GetSizeZ()

Public function

void

 

InitializeIfNeeded()

Public function Const

void

 

ListMeshDistanceFields()

Public function

void

 

RemoveAllocation

(
    FDistanceFieldVolumeTexture* T...
)

Remove an allocation from the atlas.

Public function

void

 

UpdateAllocations()

Reallocates the volume texture if necessary and uploads new allocations.

Overridden from FRenderResource

Name Description

Public function Virtual

void

 

ReleaseRHI()

Releases the RHI resources used by this resource.

References

Module

Engine

Header

Runtime/Engine/Public/DistanceFieldAtlas.h

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