Kore 3
Loading...
Searching...
No Matches
raytracing.h
Go to the documentation of this file.
1#ifndef KORE_GPU_RAYTRACING_HEADER
2#define KORE_GPU_RAYTRACING_HEADER
3
4#include <kore3/global.h>
5
6#include "api.h"
7
8#if defined(KORE_DIRECT3D11)
9#include <kore3/direct3d11/raytracing_structs.h>
10#elif defined(KORE_DIRECT3D12)
11#include <kore3/direct3d12/raytracing_structs.h>
12#elif defined(KORE_METAL)
13#include <kore3/metal/raytracing_structs.h>
14#elif defined(KORE_OPENGL)
15#include <kore3/opengl/raytracing_structs.h>
16#elif defined(KORE_VULKAN)
17#include <kore3/vulkan/raytracing_structs.h>
18#elif defined(KORE_WEBGPU)
19#include <kore3/webgpu/raytracing_structs.h>
20#elif defined(KORE_KOMPJUTA)
21#include <kore3/kompjuta/raytracing_structs.h>
22#elif defined(KORE_CONSOLE)
23#include <kore3/console/raytracing_structs.h>
24#else
25#error ("Unknown GPU backend")
26#endif
27
31
32#ifdef __cplusplus
33extern "C" {
34#endif
35
37 KORE_GPU_IMPL(raytracing_volume);
39
41 KORE_GPU_IMPL(raytracing_hierarchy);
43
44KORE_FUNC void kore_gpu_raytracing_volume_destroy(kore_gpu_raytracing_volume *volume);
45
46KORE_FUNC void kore_gpu_raytracing_hierarchy_destroy(kore_gpu_raytracing_hierarchy *hierarchy);
47
48#ifdef __cplusplus
49}
50#endif
51
52#endif
Provides basic functionality that's used all over the place. There's usually no need to manually incl...
Definition raytracing.h:40
Definition raytracing.h:36