struct
#include <esp/gfx_batch/RendererStandalone.h>
RendererStandaloneConfiguration Global standalone renderer configuration.
Constructors, destructors, conversion operators
Public functions
-
auto setCudaDevice(Magnum::
UnsignedInt id) -> RendererStandaloneConfiguration& - Set CUDA device ID.
- auto setFlags(RendererStandaloneFlags flags) -> RendererStandaloneConfiguration&
- Set renderer flags.
Function documentation
RendererStandaloneConfiguration& esp:: gfx_batch:: RendererStandaloneConfiguration:: setCudaDevice(Magnum:: UnsignedInt id)
Set CUDA device ID.
By default no ID is set, meaning any GPU — including a non-NVidia GPU — is selected.
RendererStandaloneConfiguration& esp:: gfx_batch:: RendererStandaloneConfiguration:: setFlags(RendererStandaloneFlags flags)
Set renderer flags.
By default no flags are set.