FLightmapResourceCluster

A bundle of lightmap resources which are referenced by multiple components.

Windows
MacOS
Linux

Inheritance Hierarchy

FRenderResource

FLightmapResourceCluster

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/LightMap.h

Include

#include "LightMap.h"

Syntax

class FLightmapResourceCluster : public FRenderResource

Remarks

A bundle of lightmap resources which are referenced by multiple components.

Variables

Constructors

Name Description

Public function

FLightmapResourceCluster()

Destructors

Name Description

Public function Virtual

~FLightmapResourceCluster()

Functions

Name Description

Public function Const

IAllocatedVi...

 

AcquireAllocatedVT()

Allocates virtual texture on demand and returns it, may return nullptr if not using virtual texture 'const' method setting 'mutable' member is not amazing, but this is required to work around ordering of render commands submitted from main thread, it's possible for commands that want to access AllocatedVT from here execute before this has a chance to run InitRHI()

Public function

void

 

ReleaseAllocatedVT()

Public function

void

 

UpdateUniformBuffer

(
    ERHIFeatureLevel::Type InFeatureLev...
)

Public function

void

 

UpdateUniformBuffer_RenderThread()

Overridden from FRenderResource

Name Description

Public function Virtual

void

 

InitRHI()

Initializes the RHI resources used by this resource.

Public function Virtual

void

 

ReleaseRHI()

Releases the RHI resources used by this resource.

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