Blender V5.3
gpu_ray_tracing.cc
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2026 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#include "GPU_ray_tracing.hh"
10#include "GPU_capabilities.hh"
11
12#include "gpu_backend.hh"
13
14#include "BLI_assert.hh"
15
16using namespace blender;
17using namespace blender::gpu;
18
24
30
32{
33 delete tlas;
34}
35
37{
38 delete blas;
39}
void GPU_ray_tracing_tlas_discard(blender::gpu::TopLevelAS *tlas)
blender::gpu::TopLevelAS * GPU_ray_tracing_tlas_alloc(const char *name)
blender::gpu::BottomLevelAS * GPU_ray_tracing_blas_alloc(const char *name)
void GPU_ray_tracing_blas_discard(blender::gpu::BottomLevelAS *blas)
#define BLI_assert(a)
virtual BottomLevelAS * blas_alloc(const char *name)=0
static GPUBackend * get()
virtual TopLevelAS * tlas_alloc(const char *name)=0
BMesh Iterators.
bool GPU_ray_query_support()