1.3.72
 
Loading...
Searching...
No Matches
BackendFactory.cpp File Reference

Go to the source code of this file.

Functions

bool helios::probeAnyGPUBackend () noexcept
 Lightweight probe to check if any compiled-in GPU backend is available.
 

Detailed Description

Factory for creating ray tracing backend instances.

Copyright (C) 2016-2026 Brian Bailey

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Definition in file BackendFactory.cpp.

Function Documentation

◆ probeAnyGPUBackend()

bool helios::probeAnyGPUBackend ( )
noexcept

Lightweight probe to check if any compiled-in GPU backend is available.

Probes backends in priority order (OptiX 8 → OptiX 6 → Vulkan) without constructing or initializing a full backend. Suitable for use in availability checks where creating a full backend would be wasteful.

Returns
true if at least one compiled-in backend's probe() succeeds

Definition at line 134 of file BackendFactory.cpp.