#include <StaticMeshResources.h>
FStaticMeshRenderData - All data needed to render a static mesh.
◆ FStaticMeshRenderData()
| FStaticMeshRenderData::FStaticMeshRenderData |
( |
| ) |
|
◆ ~FStaticMeshRenderData()
| FStaticMeshRenderData::~FStaticMeshRenderData |
( |
| ) |
|
◆ AllocateLODResources()
| void FStaticMeshRenderData::AllocateLODResources |
( |
int32 |
NumLODs | ) |
|
◆ BuildAreaWeighedSamplingData()
| void FStaticMeshRenderData::BuildAreaWeighedSamplingData |
( |
| ) |
|
◆ ComputeUVDensities()
Update LOD-SECTION uv densities.
◆ GetCPUAccessMemoryOverhead()
| SIZE_T FStaticMeshRenderData::GetCPUAccessMemoryOverhead |
( |
| ) |
const |
Get the estimated memory overhead of buffers marked as NeedsCPUAccess.
◆ GetCurrentFirstLOD()
Return the current first LOD that can be used for rendering starting at MinLODIdx. This takes into account the streaming status from CurrentFirstLODIdx, and MinLODIdx is expected to be UStaticMesh::MinLOD, which is platform specific.
◆ GetCurrentFirstLODIdx()
| int32 FStaticMeshRenderData::GetCurrentFirstLODIdx |
( |
int32 |
MinLODIdx | ) |
const |
|
inline |
Return the current first LODIdx that can be used.
◆ GetFirstValidLODIdx()
| int32 FStaticMeshRenderData::GetFirstValidLODIdx |
( |
int32 |
MinLODIdx | ) |
const |
Return first valid LOD index starting at MinLODIdx.
◆ GetNumNonOptionalLODs()
| int32 FStaticMeshRenderData::GetNumNonOptionalLODs |
( |
| ) |
const |
Count the number of LODs that not optional and guarantied to be installed. Starting from the last LOD and stopping at the first optional LOD.
◆ GetNumNonStreamingLODs()
| int32 FStaticMeshRenderData::GetNumNonStreamingLODs |
( |
| ) |
const |
Count the number of LODs that are inlined and not streamable. Starting from the last LOD and stopping at the first non inlined LOD.
◆ GetResourceSizeEx()
| void FStaticMeshRenderData::GetResourceSizeEx |
( |
FResourceSizeEx & |
CumulativeResourceSize | ) |
const |
Compute the size of this resource.
◆ HasNaniteFallbackMesh()
◆ HasValidNaniteData()
| bool FStaticMeshRenderData::HasValidNaniteData |
( |
| ) |
const |
◆ InitializeRayTracingRepresentationFromRenderingLODs()
| void FStaticMeshRenderData::InitializeRayTracingRepresentationFromRenderingLODs |
( |
| ) |
|
◆ InitResources()
Initialize the render resources.
◆ IsInitialized()
| bool FStaticMeshRenderData::IsInitialized |
( |
| ) |
const |
|
inline |
◆ ReleaseResources()
| void FStaticMeshRenderData::ReleaseResources |
( |
| ) |
|
Releases the render resources.
◆ Serialize()
◆ SerializeInlineDataRepresentations()
Serialize mesh build data which is inlined.
◆ bHasNaniteFallbackMesh
| bool FStaticMeshRenderData::bHasNaniteFallbackMesh |
◆ bLODsShareStaticLighting
| bool FStaticMeshRenderData::bLODsShareStaticLighting |
True if LODs share static lighting data.
◆ Bounds
Bounds of the renderable mesh.
◆ bReadyForStreaming
| bool FStaticMeshRenderData::bReadyForStreaming |
True if rhi resources are initialized
◆ CurrentFirstLODIdx
| uint8 FStaticMeshRenderData::CurrentFirstLODIdx |
◆ LODBiasModifier
| uint8 FStaticMeshRenderData::LODBiasModifier |
◆ LODResources
◆ LODVertexFactories
◆ NaniteResourcesPtr
◆ NumInlinedLODs
| uint8 FStaticMeshRenderData::NumInlinedLODs |
◆ RayTracingProxy
Ray tracing representation of this mesh, null if not present.
◆ ScreenSize
Screen size to switch LODs
The documentation for this class was generated from the following files: