5 #include "CoreMinimal.h" 10 class URuntimeMeshComponent;
47 return !MaterialRelevance.bDisableDepthTest;
50 virtual FPrimitiveViewRelevance
GetViewRelevance(
const FSceneView* View)
const override;
56 virtual void GetDynamicMeshElements(
const TArray<const FSceneView*>& Views,
const FSceneViewFamily& ViewFamily, uint32 VisibilityMap, FMeshElementCollector& Collector)
const override;
65 return(FPrimitiveSceneProxy::GetAllocatedSize());
68 #if ENGINE_MAJOR_VERSION >= 4 && ENGINE_MINOR_VERSION >= 19 69 SIZE_T GetTypeHash()
const override 71 static size_t UniquePointer;
72 return reinterpret_cast<size_t>(&UniquePointer);
uint32 GetAllocatedSize(void) const
FMaterialRelevance MaterialRelevance
virtual void GetDynamicMeshElements(const TArray< const FSceneView * > &Views, const FSceneViewFamily &ViewFamily, uint32 VisibilityMap, FMeshElementCollector &Collector) const override
FRuntimeMeshProxyPtr RuntimeMeshProxy
virtual uint32 GetMemoryFootprint(void) const
TSharedPtr< FRuntimeMeshSectionProxy, ESPMode::NotThreadSafe > FRuntimeMeshSectionProxyPtr
virtual ~FRuntimeMeshComponentSceneProxy()
virtual void DrawStaticElements(FStaticPrimitiveDrawInterface *PDI) override
FRuntimeMeshComponentSceneProxy(URuntimeMeshComponent *Component)
void CreateMeshBatch(FMeshBatch &MeshBatch, const FRuntimeMeshSectionProxyPtr &Section, const FRuntimeMeshSectionRenderData &RenderData, FMaterialRenderProxy *Material, FMaterialRenderProxy *WireframeMaterial) const
TSharedPtr< FRuntimeMeshProxy, ESPMode::ThreadSafe > FRuntimeMeshProxyPtr
TMap< int32, FRuntimeMeshSectionRenderData > SectionRenderData
virtual FPrimitiveViewRelevance GetViewRelevance(const FSceneView *View) const override
UMaterialInterface * Material
virtual bool CanBeOccluded() const override
void CreateRenderThreadResources() override
bool bHasShadowableSections