Blender
V4.3
intern
cycles
bvh
optix.h
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2019 NVIDIA Corporation
2
* SPDX-FileCopyrightText: 2019-2022 Blender Foundation
3
*
4
* SPDX-License-Identifier: Apache-2.0 */
5
6
#ifndef __BVH_OPTIX_H__
7
#define __BVH_OPTIX_H__
8
9
#ifdef WITH_OPTIX
10
11
# include "bvh/bvh.h"
12
# include "
bvh/params.h
"
13
14
# include "
device/memory.h
"
15
16
# include "
util/unique_ptr.h
"
17
18
CCL_NAMESPACE_BEGIN
19
20
class
BVHOptiX :
public
BVH
{
21
public
:
22
Device
*device;
23
uint64_t
traversable_handle;
24
unique_ptr<device_only_memory<char>> as_data;
25
unique_ptr<device_only_memory<char>> motion_transform_data;
26
27
protected
:
28
friend
class
BVH
;
29
BVHOptiX(
const
BVHParams
&
params
,
30
const
vector<Geometry *>
&geometry,
31
const
vector<Object *>
&objects,
32
Device
*device);
33
virtual
~BVHOptiX();
34
};
35
36
CCL_NAMESPACE_END
37
38
#endif
/* WITH_OPTIX */
39
40
#endif
/* __BVH_OPTIX_H__ */
BVHParams
Definition
params.h:58
BVH
Definition
bvh/bvh.h:66
Device
Definition
device/device.h:136
vector
Definition
cycles/util/vector.h:22
memory.h
CCL_NAMESPACE_END
#define CCL_NAMESPACE_END
Definition
device/cuda/compat.h:10
params
uiWidgetBaseParameters params[MAX_WIDGET_BASE_BATCH]
Definition
interface_widgets.cc:1055
CCL_NAMESPACE_BEGIN
Definition
python.cpp:44
params.h
uint64_t
unsigned __int64 uint64_t
Definition
stdint.h:90
unique_ptr.h
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0