Blender
V4.3
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
#ifndef KERNEL_DATA_ARRAY
6
# define KERNEL_DATA_ARRAY(type, name)
7
#endif
8
9
/* BVH2, not used for OptiX or Embree. */
10
KERNEL_DATA_ARRAY
(float4, bvh_nodes)
11
KERNEL_DATA_ARRAY
(float4, bvh_leaf_nodes)
12
KERNEL_DATA_ARRAY
(
uint
, prim_type)
13
KERNEL_DATA_ARRAY
(
uint
, prim_visibility)
14
KERNEL_DATA_ARRAY
(
uint
, prim_index)
15
KERNEL_DATA_ARRAY
(
uint
, prim_object)
16
KERNEL_DATA_ARRAY
(
uint
, object_node)
17
KERNEL_DATA_ARRAY
(
float2
, prim_time)
18
19
/* objects */
20
KERNEL_DATA_ARRAY
(
KernelObject
, objects)
21
KERNEL_DATA_ARRAY
(
Transform
, object_motion_pass)
22
KERNEL_DATA_ARRAY
(
DecomposedTransform
, object_motion)
23
KERNEL_DATA_ARRAY
(
uint
, object_flag)
24
KERNEL_DATA_ARRAY
(
float
, object_volume_step)
25
KERNEL_DATA_ARRAY
(
uint
, object_prim_offset)
26
27
/* cameras */
28
KERNEL_DATA_ARRAY
(
DecomposedTransform
, camera_motion)
29
30
/* triangles */
31
KERNEL_DATA_ARRAY
(
uint
, tri_shader)
32
KERNEL_DATA_ARRAY
(
packed_float3
, tri_vnormal)
33
KERNEL_DATA_ARRAY
(
packed_uint3
, tri_vindex)
34
KERNEL_DATA_ARRAY
(
uint
, tri_patch)
35
KERNEL_DATA_ARRAY
(
float2
, tri_patch_uv)
36
KERNEL_DATA_ARRAY
(
packed_float3
, tri_verts)
37
38
/* curves */
39
KERNEL_DATA_ARRAY
(
KernelCurve
, curves)
40
KERNEL_DATA_ARRAY
(float4, curve_keys)
41
KERNEL_DATA_ARRAY
(
KernelCurveSegment
, curve_segments)
42
43
/* patches */
44
KERNEL_DATA_ARRAY
(
uint
, patches)
45
46
/* pointclouds */
47
KERNEL_DATA_ARRAY
(float4, points)
48
KERNEL_DATA_ARRAY
(
uint
, points_shader)
49
50
/* attributes */
51
KERNEL_DATA_ARRAY
(
AttributeMap
, attributes_map)
52
KERNEL_DATA_ARRAY
(
float
, attributes_float)
53
KERNEL_DATA_ARRAY
(
float2
, attributes_float2)
54
KERNEL_DATA_ARRAY
(
packed_float3
, attributes_float3)
55
KERNEL_DATA_ARRAY
(float4, attributes_float4)
56
KERNEL_DATA_ARRAY
(
uchar4
, attributes_uchar4)
57
58
/* lights */
59
KERNEL_DATA_ARRAY
(
KernelLightDistribution
, light_distribution)
60
KERNEL_DATA_ARRAY
(
KernelLight
, lights)
61
KERNEL_DATA_ARRAY
(
float2
, light_background_marginal_cdf)
62
KERNEL_DATA_ARRAY
(
float2
, light_background_conditional_cdf)
63
64
/* light tree */
65
KERNEL_DATA_ARRAY
(
KernelLightTreeNode
, light_tree_nodes)
66
KERNEL_DATA_ARRAY
(
KernelLightTreeEmitter
, light_tree_emitters)
67
KERNEL_DATA_ARRAY
(
uint
, light_to_tree)
68
KERNEL_DATA_ARRAY
(
uint
, object_to_tree)
69
KERNEL_DATA_ARRAY
(
uint
, object_lookup_offset)
70
KERNEL_DATA_ARRAY
(
uint
, triangle_to_tree)
71
72
/* particles */
73
KERNEL_DATA_ARRAY
(
KernelParticle
, particles)
74
75
/* shaders */
76
KERNEL_DATA_ARRAY
(
uint4
, svm_nodes)
77
KERNEL_DATA_ARRAY
(
KernelShader
, shaders)
78
79
/* lookup tables */
80
KERNEL_DATA_ARRAY
(
float
, lookup_table)
81
82
/* tabulated Sobol sample pattern */
83
KERNEL_DATA_ARRAY
(
float
, sample_pattern_lut)
84
85
/* image textures */
86
KERNEL_DATA_ARRAY
(
TextureInfo
, texture_info)
87
88
/* ies lights */
89
KERNEL_DATA_ARRAY
(
float
, ies)
90
91
#undef KERNEL_DATA_ARRAY
uint
unsigned int uint
Definition
BLI_sys_types.h:68
KERNEL_DATA_ARRAY
#define KERNEL_DATA_ARRAY(type, name)
Definition
data_arrays.h:6
AttributeMap
Definition
kernel/types.h:927
DecomposedTransform
Definition
transform.h:42
KernelCurveSegment
Definition
kernel/types.h:1568
KernelCurve
Definition
kernel/types.h:1560
KernelLightDistribution
Definition
kernel/types.h:1637
KernelLightTreeEmitter
Definition
kernel/types.h:1703
KernelLightTreeNode
Definition
kernel/types.h:1663
KernelLight
Definition
kernel/types.h:1611
KernelObject
Definition
kernel/types.h:1514
KernelParticle
Definition
kernel/types.h:1734
KernelShader
Definition
kernel/types.h:1748
TextureInfo
Definition
util/texture.h:75
Transform
Definition
transform.h:23
float2
Definition
types_float2.h:14
packed_float3
Definition
types_float3.h:70
packed_uint3
Definition
types_uint3.h:33
uchar4
Definition
types_uchar4.h:14
uint4
Definition
types_uint4.h:14
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0