-
Notifications
You must be signed in to change notification settings - Fork 5
Update to 5.7 #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,21 +1,33 @@ | ||
| using UnrealBuildTool; | ||
| using System.IO; | ||
|
|
||
| public class ExtendedGraphicsProgramming : ModuleRules | ||
| { | ||
| public ExtendedGraphicsProgramming(ReadOnlyTargetRules Target) : base(Target) | ||
| { | ||
| PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs; | ||
|
|
||
| PublicDependencyModuleNames.AddRange(new string[] { | ||
| "Core" | ||
|
|
||
| PrivateIncludePaths.AddRange( | ||
| new string[] | ||
| { | ||
| // … add other private include paths required here … | ||
| Path.Combine(GetModuleDirectory("Renderer"), "Internal"), | ||
| Path.Combine(GetModuleDirectory("Renderer"), "Private") | ||
| } | ||
| ); | ||
|
|
||
| PublicDependencyModuleNames.AddRange(new string[] | ||
| { | ||
| "Core", "Engine" | ||
| }); | ||
| PrivateDependencyModuleNames.AddRange(new string[] { | ||
| PrivateDependencyModuleNames.AddRange(new string[] | ||
| { | ||
| "CoreUObject", | ||
| "Projects", | ||
| "Engine", | ||
| "Slate", | ||
| "SlateCore", | ||
| "SlateCore", | ||
| "Renderer", "RenderCore", "RHICore", "RHI" | ||
| }); | ||
| } | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,7 +4,7 @@ | |
| #include "MaterialDomain.h" | ||
| #include "PostProcess/PostProcessMaterialInputs.h" | ||
| #include "Runtime/Renderer/Private/SceneRendering.h" | ||
|
|
||
| #include "Runtime/Launch/Resources/Version.h" | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What's with all these extra includes? They aren't really needed just to bump to 5.7 are they?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this include the version macro , such as ENGINE_MINOR_VERSION defined in this include. |
||
| #include "EGP_GetMaterialShader.h" | ||
|
|
||
| /* | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why remove
auto?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prefer FTextureRenderTargetResource* to auto in this case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure but why? I used
autobecause the function name already contains the important part of the type name