Read if deferred rendering is enabled

Read if deferred rendering is enabled

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
sanguinariojoe
Posts: 26
Joined: 19 Apr 2016, 21:11

Read if deferred rendering is enabled

Post by sanguinariojoe »

Hey guys!

There is a way from LUA to know wether deferred rendering is enabled (and running) or not?

Thanks!
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Re: Read if deferred rendering is enabled

Post by Kloot »

https://github.com/Balanced-Annihilatio ... g.lua#L266

NB: these values are integers, so prefer GetConfigInt.
sanguinariojoe
Posts: 26
Joined: 19 Apr 2016, 21:11

Re: Read if deferred rendering is enabled

Post by sanguinariojoe »

That's what I was looking for! Thank you!
Post Reply

Return to “Game Development”