Blender
V4.5
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
(
float
, object_volume_step)
27
KERNEL_DATA_ARRAY
(
uint
, object_prim_offset)
28
29
/* cameras */
30
KERNEL_DATA_ARRAY
(
DecomposedTransform
, camera_motion)
31
32
/* triangles */
33
KERNEL_DATA_ARRAY
(
uint
, tri_shader)
34
KERNEL_DATA_ARRAY
(
packed_float3
, tri_vnormal)
35
KERNEL_DATA_ARRAY
(
packed_uint3
, tri_vindex)
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
/* pointclouds */
44
KERNEL_DATA_ARRAY
(
float4
, points)
45
KERNEL_DATA_ARRAY
(
uint
, points_shader)
46
47
/* attributes */
48
KERNEL_DATA_ARRAY
(
AttributeMap
, attributes_map)
49
KERNEL_DATA_ARRAY
(
float
, attributes_float)
50
KERNEL_DATA_ARRAY
(
float2
, attributes_float2)
51
KERNEL_DATA_ARRAY
(
packed_float3
, attributes_float3)
52
KERNEL_DATA_ARRAY
(
float4
, attributes_float4)
53
KERNEL_DATA_ARRAY
(
uchar4
, attributes_uchar4)
54
55
/* lights */
56
KERNEL_DATA_ARRAY
(
KernelLightDistribution
, light_distribution)
57
KERNEL_DATA_ARRAY
(
KernelLight
, lights)
58
KERNEL_DATA_ARRAY
(
float2
, light_background_marginal_cdf)
59
KERNEL_DATA_ARRAY
(
float2
, light_background_conditional_cdf)
60
61
/* light tree */
62
KERNEL_DATA_ARRAY
(
KernelLightTreeNode
, light_tree_nodes)
63
KERNEL_DATA_ARRAY
(
KernelLightTreeEmitter
, light_tree_emitters)
64
KERNEL_DATA_ARRAY
(
uint
, light_to_tree)
65
KERNEL_DATA_ARRAY
(
uint
, object_to_tree)
66
KERNEL_DATA_ARRAY
(
uint
, object_lookup_offset)
67
KERNEL_DATA_ARRAY
(
uint
, triangle_to_tree)
68
69
/* particles */
70
KERNEL_DATA_ARRAY
(
KernelParticle
, particles)
71
72
/* shaders */
73
KERNEL_DATA_ARRAY
(
uint4
, svm_nodes)
74
KERNEL_DATA_ARRAY
(
KernelShader
, shaders)
75
76
/* lookup tables */
77
KERNEL_DATA_ARRAY
(
float
, lookup_table)
78
79
/* tabulated Sobol sample pattern */
80
KERNEL_DATA_ARRAY
(
float
, sample_pattern_lut)
81
82
/* image textures */
83
KERNEL_DATA_ARRAY
(
TextureInfo
, texture_info)
84
85
/* ies lights */
86
KERNEL_DATA_ARRAY
(
float
, ies)
87
88
#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
float4
VecBase< float, 4 > float4
Definition
gpu_glsl_cpp_stubs.hh:365
types.h
AttributeMap
Definition
kernel/types.h:918
DecomposedTransform
Definition
transform.h:41
KernelCurveSegment
Definition
kernel/types.h:1553
KernelCurve
Definition
kernel/types.h:1545
KernelLightDistribution
Definition
kernel/types.h:1613
KernelLightTreeEmitter
Definition
kernel/types.h:1680
KernelLightTreeNode
Definition
kernel/types.h:1640
KernelLight
Definition
kernel/types.h:1596
KernelObject
Definition
kernel/types.h:1499
KernelParticle
Definition
kernel/types.h:1713
KernelShader
Definition
kernel/types.h:1727
TextureInfo
Definition
util/texture.h:76
Transform
Definition
transform.h:22
float2
Definition
types_float2.h:12
packed_float3
Definition
types_float3.h:147
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.15.0