Choose your operating system:
Windows
macOS
Linux
| FRenderResource
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/LightMap.h |
Include |
#include "LightMap.h" |
class FLightmapResourceCluster : public FRenderResource
A bundle of lightmap resources which are referenced by multiple components.
Name | Description | ||
---|---|---|---|
|
AllocatedVT |
||
|
Input |
||
|
UniformBuffer |
Name | Description | |
---|---|---|
|
FLightmapResourceCluster() |
Name | Description | |
---|---|---|
|
~FLightmapResourceCluster() |
Name | Description | ||
---|---|---|---|
|
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() |
|
GetUseVirtualTexturing() |
||
|
ReleaseAllocatedVT() |
||
|
UpdateUniformBuffer ( |
||
|
UpdateUniformBuffer_RenderThread() |
Name | Description | ||
---|---|---|---|
|
InitRHI() |
Initializes the RHI resources used by this resource. |
|
|
ReleaseRHI() |
Releases the RHI resources used by this resource. |