Skip to content

Adding 3D render flag#1834

Open
Knightmore wants to merge 1 commit into
aers:mainfrom
Knightmore:Rendering
Open

Adding 3D render flag#1834
Knightmore wants to merge 1 commit into
aers:mainfrom
Knightmore:Rendering

Conversation

@Knightmore
Copy link
Copy Markdown
Contributor

@Knightmore Knightmore commented May 17, 2026

Setting this to true will take the render short path: It clears the back buffer with a solid color, runs post-effects and then returns, skipping all 3D world rendering.
I'm using this actively over around two months now and so far also some other users of it didn't report any problems either. It keeps my GPU load down to ~0-3% without any errors or crashes.

I would have added 0x3834C too as this seemed like a bitflag for Shader Init States, but I haven't grasped the full picture yet...

[FieldOffset(0x3834C)] public uint ShaderInitFlags;

somebody smarter with this needs to properly check that out, especially individual flags and the naming.

if you guys are fine with it though, I'd just push another PR to this one

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.

1 participant