esp::gfx_batch::RendererStandaloneConfiguration struct

Global standalone renderer configuration.

Passed to RendererStandalone::RendererStandalone(const RendererConfiguration&, const RendererStandaloneConfiguration&).

Constructors, destructors, conversion operators

RendererStandaloneConfiguration() explicit
~RendererStandaloneConfiguration()

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.