Blender V4.3
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. */
10KERNEL_DATA_ARRAY(float4, bvh_nodes)
11KERNEL_DATA_ARRAY(float4, bvh_leaf_nodes)
12KERNEL_DATA_ARRAY(uint, prim_type)
13KERNEL_DATA_ARRAY(uint, prim_visibility)
14KERNEL_DATA_ARRAY(uint, prim_index)
15KERNEL_DATA_ARRAY(uint, prim_object)
16KERNEL_DATA_ARRAY(uint, object_node)
17KERNEL_DATA_ARRAY(float2, prim_time)
18
19/* objects */
21KERNEL_DATA_ARRAY(Transform, object_motion_pass)
23KERNEL_DATA_ARRAY(uint, object_flag)
24KERNEL_DATA_ARRAY(float, object_volume_step)
25KERNEL_DATA_ARRAY(uint, object_prim_offset)
26
27/* cameras */
29
30/* triangles */
31KERNEL_DATA_ARRAY(uint, tri_shader)
34KERNEL_DATA_ARRAY(uint, tri_patch)
35KERNEL_DATA_ARRAY(float2, tri_patch_uv)
37
38/* curves */
40KERNEL_DATA_ARRAY(float4, curve_keys)
42
43/* patches */
44KERNEL_DATA_ARRAY(uint, patches)
45
46/* pointclouds */
47KERNEL_DATA_ARRAY(float4, points)
48KERNEL_DATA_ARRAY(uint, points_shader)
49
50/* attributes */
51KERNEL_DATA_ARRAY(AttributeMap, attributes_map)
52KERNEL_DATA_ARRAY(float, attributes_float)
53KERNEL_DATA_ARRAY(float2, attributes_float2)
54KERNEL_DATA_ARRAY(packed_float3, attributes_float3)
55KERNEL_DATA_ARRAY(float4, attributes_float4)
56KERNEL_DATA_ARRAY(uchar4, attributes_uchar4)
57
58/* lights */
61KERNEL_DATA_ARRAY(float2, light_background_marginal_cdf)
62KERNEL_DATA_ARRAY(float2, light_background_conditional_cdf)
63
64/* light tree */
66KERNEL_DATA_ARRAY(KernelLightTreeEmitter, light_tree_emitters)
67KERNEL_DATA_ARRAY(uint, light_to_tree)
68KERNEL_DATA_ARRAY(uint, object_to_tree)
69KERNEL_DATA_ARRAY(uint, object_lookup_offset)
70KERNEL_DATA_ARRAY(uint, triangle_to_tree)
71
72/* particles */
74
75/* shaders */
76KERNEL_DATA_ARRAY(uint4, svm_nodes)
78
79/* lookup tables */
80KERNEL_DATA_ARRAY(float, lookup_table)
81
82/* tabulated Sobol sample pattern */
83KERNEL_DATA_ARRAY(float, sample_pattern_lut)
84
85/* image textures */
86KERNEL_DATA_ARRAY(TextureInfo, texture_info)
87
88/* ies lights */
89KERNEL_DATA_ARRAY(float, ies)
90
91#undef KERNEL_DATA_ARRAY
unsigned int uint
#define KERNEL_DATA_ARRAY(type, name)
Definition data_arrays.h:6