Blender
V5.0
intern
cycles
kernel
data_arrays.h
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
2
*
3
* SPDX-License-Identifier: Apache-2.0 */
4
5
#include "
kernel/types.h
"
6
7
#ifndef KERNEL_DATA_ARRAY
8
# define KERNEL_DATA_ARRAY(type, name)
9
#endif
10
11
/* BVH2, not used for OptiX or Embree. */
12
KERNEL_DATA_ARRAY
(
float4
, bvh_nodes)
13
KERNEL_DATA_ARRAY
(
float4
, bvh_leaf_nodes)
14
KERNEL_DATA_ARRAY
(
uint
, prim_type)
15
KERNEL_DATA_ARRAY
(
uint
, prim_visibility)
16
KERNEL_DATA_ARRAY
(
uint
, prim_index)
17
KERNEL_DATA_ARRAY
(
uint
, prim_object)
18
KERNEL_DATA_ARRAY
(
uint
, object_node)
19
KERNEL_DATA_ARRAY
(
float2
, prim_time)
20
21
/* objects */
22
KERNEL_DATA_ARRAY
(
KernelObject
, objects)
23
KERNEL_DATA_ARRAY
(
Transform
, object_motion_pass)
24
KERNEL_DATA_ARRAY
(
DecomposedTransform
, object_motion)
25
KERNEL_DATA_ARRAY
(
uint
, object_flag)
26
KERNEL_DATA_ARRAY
(
uint
, object_prim_offset)
27
28
/* cameras */
29
KERNEL_DATA_ARRAY
(
DecomposedTransform
, camera_motion)
30
31
/* triangles */
32
KERNEL_DATA_ARRAY
(
uint
, tri_shader)
33
KERNEL_DATA_ARRAY
(
packed_float3
, tri_vnormal)
34
KERNEL_DATA_ARRAY
(
packed_uint3
, tri_vindex)
35
KERNEL_DATA_ARRAY
(
packed_float3
, tri_verts)
36
37
/* curves */
38
KERNEL_DATA_ARRAY
(
KernelCurve
, curves)
39
KERNEL_DATA_ARRAY
(
float4
, curve_keys)
40
KERNEL_DATA_ARRAY
(
KernelCurveSegment
, curve_segments)
41
42
/* pointclouds */
43
KERNEL_DATA_ARRAY
(
float4
, points)
44
KERNEL_DATA_ARRAY
(
uint
, points_shader)
45
46
/* attributes */
47
KERNEL_DATA_ARRAY
(
AttributeMap
, attributes_map)
48
KERNEL_DATA_ARRAY
(
float
, attributes_float)
49
KERNEL_DATA_ARRAY
(
float2
, attributes_float2)
50
KERNEL_DATA_ARRAY
(
packed_float3
, attributes_float3)
51
KERNEL_DATA_ARRAY
(
float4
, attributes_float4)
52
KERNEL_DATA_ARRAY
(
uchar4
, attributes_uchar4)
53
54
/* lights */
55
KERNEL_DATA_ARRAY
(
KernelLightDistribution
, light_distribution)
56
KERNEL_DATA_ARRAY
(
KernelLight
, lights)
57
KERNEL_DATA_ARRAY
(
float2
, light_background_marginal_cdf)
58
KERNEL_DATA_ARRAY
(
float2
, light_background_conditional_cdf)
59
60
/* light tree */
61
KERNEL_DATA_ARRAY
(
KernelLightTreeNode
, light_tree_nodes)
62
KERNEL_DATA_ARRAY
(
KernelLightTreeEmitter
, light_tree_emitters)
63
KERNEL_DATA_ARRAY
(
uint
, light_to_tree)
64
KERNEL_DATA_ARRAY
(
uint
, object_to_tree)
65
KERNEL_DATA_ARRAY
(
uint
, object_lookup_offset)
66
KERNEL_DATA_ARRAY
(
uint
, triangle_to_tree)
67
68
/* particles */
69
KERNEL_DATA_ARRAY
(
KernelParticle
, particles)
70
71
/* shaders */
72
KERNEL_DATA_ARRAY
(
uint4
, svm_nodes)
73
KERNEL_DATA_ARRAY
(
KernelShader
, shaders)
74
75
/* lookup tables */
76
KERNEL_DATA_ARRAY
(
float
, lookup_table)
77
78
/* tabulated Sobol sample pattern */
79
KERNEL_DATA_ARRAY
(
float
, sample_pattern_lut)
80
81
/* image textures */
82
KERNEL_DATA_ARRAY
(
TextureInfo
, texture_info)
83
84
/* ies lights */
85
KERNEL_DATA_ARRAY
(
float
, ies)
86
87
/* Volume. */
88
KERNEL_DATA_ARRAY
(
KernelOctreeNode
, volume_tree_nodes)
89
KERNEL_DATA_ARRAY
(
KernelOctreeRoot
, volume_tree_roots)
90
KERNEL_DATA_ARRAY
(
int
, volume_tree_root_ids)
91
KERNEL_DATA_ARRAY
(
float
, volume_step_size)
92
93
#undef KERNEL_DATA_ARRAY
uint
unsigned int uint
Definition
BLI_sys_types.h:64
KERNEL_DATA_ARRAY
#define KERNEL_DATA_ARRAY(type, name)
Definition
data_arrays.h:8
types.h
AttributeMap
Definition
kernel/types.h:939
DecomposedTransform
Definition
transform.h:41
KernelCurveSegment
Definition
kernel/types.h:1571
KernelCurve
Definition
kernel/types.h:1563
KernelLightDistribution
Definition
kernel/types.h:1631
KernelLightTreeEmitter
Definition
kernel/types.h:1719
KernelLightTreeNode
Definition
kernel/types.h:1658
KernelLight
Definition
kernel/types.h:1614
KernelObject
Definition
kernel/types.h:1517
KernelOctreeNode
Definition
kernel/types.h:1705
KernelOctreeRoot
Definition
kernel/types.h:1698
KernelParticle
Definition
kernel/types.h:1752
KernelShader
Definition
kernel/types.h:1766
TextureInfo
Definition
texture.h:84
Transform
Definition
transform.h:22
float2
Definition
types_float2.h:13
float4
Definition
sky_math.h:224
packed_float3
Definition
types_float3.h:176
packed_uint3
Definition
types_uint3.h:44
uchar4
Definition
types_uchar4.h:12
uint4
Definition
types_uint4.h:12
Generated on
for Blender by
doxygen
1.16.1