Files
UnrealEngineUWP/Engine/Source/Runtime/GeometryFramework/GeometryFramework.Build.cs
ryan schmidt 88f6b02bc3 GeometryFramework: Add Raytracing support for Base/DynamicMeshComponent.
- add FRayTracingGeometry structures to FMeshRenderBufferSet for primary and secondary triangle indices
- add UpdateRaytracingGeometryIfEnabled() function which rebuilds these raytracing data structures. This does a full rebuild, not clear if any kind of incremental update is possible currently, to revisit in future.
- call the above in the various places where we modify the existing index/vertex buffers.
- add UPrimitiveComponent::GetDynamicRayTracingInstances() implementation, mirrors GetDynamicMeshElements() implementation, uses new DrawRayTracingBatch() function

#rb juan.canada
#rnx
#jira none
#preflight 6157507e2363e400012ed95f

#ROBOMERGE-AUTHOR: ryan.schmidt
#ROBOMERGE-SOURCE: CL 17696127 in //UE5/Release-5.0/... via CL 17696138
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v875-17642767)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 17696156 by ryan schmidt in ue5-release-engine-test branch]
2021-10-01 16:01:41 -04:00

32 lines
680 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class GeometryFramework : ModuleRules
{
public GeometryFramework(ReadOnlyTargetRules Target) : base(Target)
{
//PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
// this is required for raytracing suppport?
PublicIncludePaths.Add("../Shaders/Shared");
PublicDependencyModuleNames.AddRange(
new string[] {
"Core",
"CoreUObject",
"Engine",
"RenderCore",
"RHI",
"PhysicsCore",
"InteractiveToolsFramework",
"MeshDescription",
"StaticMeshDescription",
"SkeletalMeshDescription",
"GeometryCore",
"MeshConversion"
}
);
}
}