![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <LightMap.h>
Inheritance diagram for FLightmapResourceCluster:Public Attributes | |
| FLightmapClusterResourceInput | Input |
| IAllocatedVirtualTexture * | AllocatedVT |
| FUniformBufferRHIRef | UniformBuffer |
Public Attributes inherited from FRenderResource | |
| ERenderResourceState | ResourceState = ERenderResourceState::Default |
A bundle of lightmap resources which are referenced by multiple components.
|
inline |
|
virtual |
| void FLightmapResourceCluster::ConditionalCreateAllocatedVT | ( | ) |
| const IAllocatedVirtualTexture * FLightmapResourceCluster::GetAllocatedVT | ( | ) | const |
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()
| bool FLightmapResourceCluster::GetUseVirtualTexturing | ( | ) | const |
|
virtual |
Initializes the RHI resources used by this resource. Called when entering the state where both the resource and the RHI have been initialized. This is only called by the rendering thread.
Reimplemented from FRenderResource.
| void FLightmapResourceCluster::ReleaseAllocatedVT | ( | ) |
|
virtual |
Releases the RHI resources used by this resource. Called when leaving the state where both the resource and the RHI have been initialized. This is only called by the rendering thread.
Reimplemented from FRenderResource.
| void FLightmapResourceCluster::SetFeatureLevelAndInitialize | ( | const FStaticFeatureLevel | InFeatureLevel | ) |
| void FLightmapResourceCluster::TryInitializeUniformBuffer | ( | ) |
| void FLightmapResourceCluster::UpdateUniformBuffer | ( | ) |
|
mutable |
| FLightmapClusterResourceInput FLightmapResourceCluster::Input |
| FUniformBufferRHIRef FLightmapResourceCluster::UniformBuffer |