For a desktop game I’d like to display, like in big AAA games, what graphics adapter is being used, in the game settings. How to do this?
I looked through graphics., render., sys.* API - there seems to be no such function.
For a desktop game I’d like to display, like in big AAA games, what graphics adapter is being used, in the game settings. How to do this?
I looked through graphics., render., sys.* API - there seems to be no such function.
Hi!
Correct, we currently have no way to list any devices, their capabilities, nor to choose any devices at startup.
I’d like to have Lua hooks for enumerating graphics/sound cards, so that they can be presentd and also chosen during the next startup.
But at least listing the currently chosen devices and their capabilities would be nice.
The plan is/was to add this into the graphics namespace, as well as some functionality to check available extensions and so on. It should be fairly trivial to implement afaik
We could add something to at least read the current graphics adapter in sys.get_sys_info() or sys.get_engine_info() or perhaps via a new function?
I vote for this! The name of the field could be graphics_adapter
.
Ok, please open a feature request on GitHub!