|
Blender V5.3
|
#include "GPU_ray_tracing.hh"#include "GPU_capabilities.hh"#include "gpu_backend.hh"#include "BLI_assert.hh"Go to the source code of this file.
Functions | |
| TopLevelAS * | GPU_ray_tracing_tlas_alloc (const char *name) |
| BottomLevelAS * | GPU_ray_tracing_blas_alloc (const char *name) |
| void | GPU_ray_tracing_tlas_discard (TopLevelAS *tlas) |
| void | GPU_ray_tracing_blas_discard (BottomLevelAS *blas) |
| BottomLevelAS * GPU_ray_tracing_blas_alloc | ( | const char * | name | ) |
Definition at line 25 of file gpu_ray_tracing.cc.
References blender::gpu::GPUBackend::blas_alloc(), BLI_assert, blender::gpu::GPUBackend::get(), blender::GPU_ray_query_support(), and GPU_ray_tracing_blas_alloc().
Referenced by blender::DRW_blas_request(), GPU_ray_tracing_blas_alloc(), blender::gpu::tests::test_ray_tracing_fragment(), blender::gpu::tests::test_ray_tracing_inside_cube(), blender::gpu::tests::test_ray_tracing_instance_custom_index(), blender::gpu::tests::test_ray_tracing_instance_mask(), and blender::gpu::tests::test_ray_tracing_instance_update().
| void GPU_ray_tracing_blas_discard | ( | BottomLevelAS * | blas | ) |
Definition at line 36 of file gpu_ray_tracing.cc.
References GPU_ray_tracing_blas_discard().
Referenced by GPU_ray_tracing_blas_discard(), blender::draw::mesh_batch_cache_clear(), blender::draw::mesh_batch_cache_discard_shaded_tri(), and blender::gpu::BottomLevelASDeleter::operator()().
| TopLevelAS * GPU_ray_tracing_tlas_alloc | ( | const char * | name | ) |
Definition at line 19 of file gpu_ray_tracing.cc.
References BLI_assert, blender::gpu::GPUBackend::get(), blender::GPU_ray_query_support(), GPU_ray_tracing_tlas_alloc(), and blender::gpu::GPUBackend::tlas_alloc().
Referenced by GPU_ray_tracing_tlas_alloc(), blender::workbench::ShadowPass::init(), blender::gpu::tests::test_ray_tracing_empty_tlas(), blender::gpu::tests::test_ray_tracing_fragment(), blender::gpu::tests::test_ray_tracing_inside_cube(), blender::gpu::tests::test_ray_tracing_instance_custom_index(), blender::gpu::tests::test_ray_tracing_instance_mask(), and blender::gpu::tests::test_ray_tracing_instance_update().
| void GPU_ray_tracing_tlas_discard | ( | TopLevelAS * | tlas | ) |
Definition at line 31 of file gpu_ray_tracing.cc.
References GPU_ray_tracing_tlas_discard().
Referenced by GPU_ray_tracing_tlas_discard(), and blender::gpu::TopLevelASDeleter::operator()().