Navigation
API > API/Runtime > API/Runtime/Engine
A bundle of lightmap resources which are referenced by multiple components.
| Name | FLightmapResourceCluster |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/LightMap.h |
| Include Path | #include "LightMap.h" |
Syntax
class FLightmapResourceCluster : public FRenderResource
Inheritance Hierarchy
- FRenderResource → FLightmapResourceCluster
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLightmapResourceCluster() |
LightMap.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FLightmapResourceCluster() |
LightMap.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AllocatedVT | IAllocatedVirtualTexture * | LightMap.h | ||
| Input | FLightmapClusterResourceInput | LightMap.h | ||
| UniformBuffer | FUniformBufferRHIRef | LightMap.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ConditionalCreateAllocatedVT() |
LightMap.h | ||
const IAllocatedVirtualTexture * GetAllocatedVT() |
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() | LightMap.h | |
bool GetUseVirtualTexturing() |
LightMap.h | ||
void ReleaseAllocatedVT() |
LightMap.h | ||
void SetFeatureLevelAndInitialize
(
const FStaticFeatureLevel InFeatureLevel |
LightMap.h | ||
void TryInitializeUniformBuffer() |
LightMap.h | ||
void UpdateUniformBuffer() |
LightMap.h |
Overridden from FRenderResource
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void InitRHI
(
FRHICommandListBase& RHICmdList |
LightMap.h | ||
virtual void ReleaseRHI() |
LightMap.h |