Blender  V3.3
function_constants.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: Apache-2.0
2  * Copyright 2021-2022 Blender Foundation */
3 
4 enum {
6 #define KERNEL_STRUCT_MEMBER(parent, type, name) KernelData_##parent##_##name,
7 #include "kernel/data_template.h"
8 };
9 
10 #ifdef __KERNEL_METAL__
11 # define KERNEL_STRUCT_MEMBER(parent, type, name) \
12  constant type kernel_data_##parent##_##name \
13  [[function_constant(KernelData_##parent##_##name)]];
14 # include "kernel/data_template.h"
15 #endif
@ Kernel_DummyConstant