Skip to content

edited to work with -nullrhi flag - #109

Open
gwh0014 wants to merge 1 commit into
rdeioris:masterfrom
gwh0014:master
Open

gwh0014 wants to merge 1 commit into
rdeioris:masterfrom
gwh0014:master

Conversation

@gwh0014

@gwh0014 gwh0014 commented Jan 29, 2025

Copy link
Copy Markdown

I edited two files the gltfRuntimeAssetActor.cpp and the gltfRuntimeParserStaticMeshes.cpp in both files i added the #include "RHI.h" in order to add checks to see if the renderer was enabled

now when running a game in headless mode through an unreal engine 5 built game you can use the -nullrhi flag in order to disable the renderer without any errors

This personally sped my game up 4x

@rdeioris

rdeioris commented Feb 3, 2025

Copy link
Copy Markdown
Owner

Thanks, it will probably needs some refactoring but it is a good base to support nullrhi. I will be back to you as soon as I have some cycle for it. Thanks again.

@gwh0014

gwh0014 commented Feb 3, 2025

Copy link
Copy Markdown
Author

No problem!

@gwh0014

gwh0014 commented Feb 3, 2025

Copy link
Copy Markdown
Author

I apologize for the messiness I was adding checks to different parts of the code to see what worked until it worked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants