Navigation
Unreal Engine C++ API Reference > Runtime > Engine
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/StaticMeshResources.h |
Include | #include "StaticMeshResources.h" |
Syntax
class FStaticMeshRenderData
Remarks
FStaticMeshRenderData - All data needed to render a static mesh.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | bLODsShareStaticLighting | True if LODs share static lighting data. |
![]() |
FBoxSphereBounds | Bounds | Bounds of the renderable mesh. |
![]() |
bool | bReadyForStreaming | True if rhi resources are initialized |
![]() |
uint8 | CurrentFirstLODIdx | |
![]() |
FString | DerivedDataKey | The derived data key associated with this render data. |
![]() |
uint64 | EstimatedCompressedSize | Estimate of total compressed size of all rendering data, including Nanite data. |
![]() |
uint64 | EstimatedNaniteStreamingCompressedSize | Estimate of compressed size of Nanite streaming data. |
![]() |
uint64 | EstimatedNaniteTotalCompressedSize | Estimate of total compressed size of Nanite data. Includes streaming and non-streaming data. |
![]() |
uint8 | LODBiasModifier | |
![]() |
FStaticMeshLODResourcesArray | LODResources | Per-LOD resources. |
![]() |
FStaticMeshVertexFactoriesArray | LODVertexFactories | |
![]() |
TArray< int32 > | MaterialIndexToImportIndex | Map of material index -> original material index at import time. |
![]() |
TPimplPtr< Nanite::FResources > | NaniteResourcesPtr | |
![]() |
TUniquePtr< class FStaticMeshRenderData > | NextCachedRenderData | The next cached derived data in the list. |
![]() |
uint8 | NumInlinedLODs | |
![]() |
FPerPlatformFloat[8] | ScreenSize | Screen size to switch LODs |
![]() |
TArray< FMeshUVChannelInfo > | UVChannelDataPerMaterial | UV data used for streaming accuracy debug view modes. In sync for rendering thread |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Default constructor. |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AllocateLODResources
(
int32 NumLODs |
Allocate LOD resources. |
![]() |
void | ||
![]() |
void | Cache
(
const ITargetPlatform* TargetPlatform, |
Cache derived renderable data for the static mesh with the provided level of detail settings. |
![]() |
void | Update LOD-SECTION uv densities. | |
![]() ![]() |
SIZE_T | Get the estimated memory overhead of buffers marked as NeedsCPUAccess. | |
![]() ![]() |
const FStaticMeshLODResources * | GetCurrentFirstLOD
(
int32 MinLODIdx |
Return the current first LOD that can be used for rendering starting at MinLODIdx. |
![]() ![]() |
int32 | GetCurrentFirstLODIdx
(
int32 MinLODIdx |
Return the current first LODIdx that can be used. |
![]() ![]() |
int32 | GetFirstValidLODIdx
(
int32 MinLODIdx |
Return first valid LOD index starting at MinLODIdx. |
![]() ![]() |
int32 | Count the number of LODs that not optional and guarantied to be installed. | |
![]() ![]() |
int32 | Count the number of LODs that are inlined and not streamable. | |
![]() ![]() |
void | GetResourceSizeEx
(
FResourceSizeEx& CumulativeResourceSize |
Compute the size of this resource. |
![]() ![]() |
bool | ||
![]() |
void | InitResources
(
ERHIFeatureLevel::Type InFeatureLevel, |
Initialize the render resources. |
![]() ![]() |
bool | ||
![]() |
void | Releases the render resources. | |
![]() |
void | ResolveSectionInfo
(
UStaticMesh* Owner |
Resolve all per-section settings. |
![]() |
void | Serialize
(
FArchive& Ar, |
Serialization. |
![]() |
void | SerializeInlineDataRepresentations
(
FArchive& Ar, |
Serialize mesh build data which is inlined. |
![]() |
void | SyncUVChannelData
(
const TArray< FStaticMaterial >& ObjectData |