Navigation
API > API/Runtime > API/Runtime/Engine
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
| Type | Name | Description | |
|---|---|---|---|
| IAllocatedVirtualTexture * | AllocatedVT | ||
| FLightmapClusterResourceInput | Input | ||
| FUniformBufferRHIRef | UniformBuffer |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| const IAllocatedVirtualTexture * | 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 | |||
| void | |||
| void | SetFeatureLevelAndInitialize
(
const FStaticFeatureLevel InFeatureLevel |
||
| void | |||
| void |
Overridden from FRenderResource
| Type | Name | Description | |
|---|---|---|---|
| void | InitRHI
(
FRHICommandListBase& RHICmdList |
Initializes the RHI resources used by this resource. | |
| void | ReleaseRHI () |
Releases the RHI resources used by this resource. |