1.3.72
 
Loading...
Searching...
No Matches
RayTracingBackend.h File Reference
#include "RayTracingTypes.h"
#include <memory>
#include <string>

Go to the source code of this file.

Data Structures

class  helios::RayTracingBackend
 Abstract interface for ray-tracing backends. More...
 

Functions

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

Detailed Description

Abstract interface for ray tracing backends.

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 RayTracingBackend.h.

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.