8 : FeatureLevel(InFeatureLevel)
16 check(IsInRenderingThread());
22 ENQUEUE_RENDER_COMMAND(FRuntimeMeshProxyCreateSection)(
23 [
this, SectionId, SectionData](FRHICommandListImmediate & RHICmdList)
32 check(IsInRenderingThread());
33 check(SectionData.IsValid());
39 Sections.FindOrAdd(SectionId) = NewSection;
48 ENQUEUE_RENDER_COMMAND(FRuntimeMeshProxyUpdateSection)(
49 [
this, SectionId, SectionData](FRHICommandListImmediate & RHICmdList)
58 check(IsInRenderingThread());
59 check(SectionData.IsValid());
64 Section->FinishUpdate_RenderThread(SectionData);
74 ENQUEUE_RENDER_COMMAND(FRuntimeMeshProxyUpdateSectionProperties)(
75 [
this, SectionId, SectionData](FRHICommandListImmediate & RHICmdList)
84 check(IsInRenderingThread());
85 check(SectionData.IsValid());
90 Section->FinishPropertyUpdate_RenderThread(SectionData);
100 ENQUEUE_RENDER_COMMAND(FRuntimeMeshProxyDeleteSection)(
101 [
this, SectionId](FRHICommandListImmediate & RHICmdList)
110 check(IsInRenderingThread());
112 bool bChangedState =
false;
113 if (SectionId == INDEX_NONE)
116 bChangedState =
true;
123 bChangedState =
true;
137 check(IsInRenderingThread());
void DeleteSection_GameThread(int32 SectionId)
void CreateSection_RenderThread(int32 SectionId, const FRuntimeMeshSectionCreationParamsPtr &SectionData)
void UpdateCachedValues()
TSharedPtr< FRuntimeMeshSectionProxy, ESPMode::NotThreadSafe > FRuntimeMeshSectionProxyPtr
void UpdateSectionProperties_RenderThread(int32 SectionId, const FRuntimeMeshSectionPropertyUpdateParamsPtr &SectionData)
TSharedPtr< FRuntimeMeshSectionPropertyUpdateParams, ESPMode::NotThreadSafe > FRuntimeMeshSectionPropertyUpdateParamsPtr
TSharedPtr< FRuntimeMeshSectionUpdateParams, ESPMode::NotThreadSafe > FRuntimeMeshSectionUpdateParamsPtr
void UpdateSection_GameThread(int32 SectionId, const FRuntimeMeshSectionUpdateParamsPtr &SectionData)
FRuntimeMeshProxy(ERHIFeatureLevel::Type InFeatureLevel)
void DeleteSection_RenderThread(int32 SectionId)
void UpdateSection_RenderThread(int32 SectionId, const FRuntimeMeshSectionUpdateParamsPtr &SectionData)
static const textual_icon check
TSharedPtr< FRuntimeMeshSectionCreationParams, ESPMode::NotThreadSafe > FRuntimeMeshSectionCreationParamsPtr
TMap< int32, FRuntimeMeshSectionProxyPtr > Sections
void CreateSection_GameThread(int32 SectionId, const FRuntimeMeshSectionCreationParamsPtr &SectionData)
ERHIFeatureLevel::Type FeatureLevel
void UpdateSectionProperties_GameThread(int32 SectionId, const FRuntimeMeshSectionPropertyUpdateParamsPtr &SectionData)